The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
#1
Detecting when a door is closed?

There's a part in my level where there's a monster lurking around, and you have to lure it into a cell-block and lock it in. When the cell block is sealed, I want the monster to come running at the door and start beating on it so the player has to barricade it. How can I detect when the door has been shut?

I assume there's a callback type for this... is there a list of these things somewhere? Or is it just the 3 in the editor tooltip: OnPickup, Break, OnIgnite.
01-01-2011, 09:31 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



Users browsing this thread: 1 Guest(s)