Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting when a door is closed?
Frontcannon Offline
Senior Member

Posts: 538
Threads: 10
Joined: Jul 2010
Reputation: 2
#7
RE: Detecting when a door is closed?

Oh sorry, I have no idea why I used GetSwingDoorLocked :/

Which makes the script look like this in my mind:

if(bool GetSwingDoorClosed("door") == true)
{
    ShowEnemyPlayerPosition("enemy");
}

This should make it try to escape the room and catch you, but I don't know for how long.


╔═════════════════╗
☺ Smoke weed everyday ☺
╚═════════════════╝
(This post was last modified: 01-05-2011, 04:36 PM by Frontcannon.)
01-05-2011, 04:35 PM
Find


Messages In This Thread
Detecting when a door is closed? - by GraphicsKid - 01-01-2011, 09:31 PM
RE: Detecting when a door is closed? - by Equil - 01-05-2011, 08:25 AM
RE: Detecting when a door is closed? - by Frontcannon - 01-05-2011, 04:35 PM



Users browsing this thread: 1 Guest(s)