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?
GraphicsKid Offline
Senior Member

Posts: 258
Threads: 34
Joined: Dec 2010
Reputation: 3
#5
RE: Detecting when a door is closed?

(01-04-2011, 02:59 PM)Frontcannon Wrote: You could try

if(bool  GetSwingDoorLocked("door") == true)
{
    stuff
}

Does that detect if the door is closed? The door is never locked, I mean the player can open it. It's an indestructible door, so the monster is trapped inside if you slide a crate in front of it. (of course it frees itself at a very inconvenient time! Tongue ) Problem is, the monster doesn't seem to realize it's trapped, so it just keeps patrolling the cells, happy with ignorance.
01-05-2011, 01:23 AM
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 GraphicsKid - 01-05-2011, 01:23 AM
RE: Detecting when a door is closed? - by Equil - 01-05-2011, 08:25 AM



Users browsing this thread: 3 Guest(s)