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
Can you re-enable areas once used?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#3
RE: Can you re-enable areas once used?

(03-09-2012, 08:01 AM)Nevicar Wrote: Example:
There is a room where the player walks into, the door behind them closes as they enter via a script, but then don't collect the item from the room and has to come back to it. Is it possible to have the area reset and have it activate again when the player passes through it in an event that happens later in the level on the way to the end of the level?

I... think that's clear.
In the callback, change the "true" to "false". Like:

AddEntityCollideCallback(" ", "Script Area", "callback1", false, 1);


03-09-2012, 08:23 AM
Find


Messages In This Thread
Can you re-enable areas once used? - by Nevicar - 03-09-2012, 08:01 AM
RE: Can you re-enable areas once used? - by flamez3 - 03-09-2012, 08:23 AM



Users browsing this thread: 2 Guest(s)