Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick Question.
Author Message
Obliviator27 Offline
Posting Freak

Posts: 801
Joined: Jul 2011
Reputation: 65
Post: #4
RE: Quick Question.
The way you have it set up is so when the player leaves the area in front of the door, it slams shut. If you want it to slam in the player's face, then you should set it to 1 so when the player enters, the door shuts. If you want to to shut behind the player, extend the area to the other side of the door so when the player leaves the area you've designated, the door shuts.

There is no 2 value for this script. If you leave it at 0, the callback will play when the player enters AND leaves the area you've designated. 1 is enter only, 0 is enter and exit, -1 is exit only.
07-26-2011 03:00 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Quick Question. - GreyFox - 07-26-2011, 01:22 AM
RE: Quick Question. - Obliviator27 - 07-26-2011, 01:27 AM
RE: Quick Question. - GreyFox - 07-26-2011, 01:56 AM
RE: Quick Question. - Obliviator27 - 07-26-2011 03:00 AM
RE: Quick Question. - GreyFox - 07-26-2011, 05:36 AM
RE: Quick Question. - Wonderbread - 07-26-2011, 06:20 AM
RE: Quick Question. - MrCookieh - 07-26-2011, 10:57 AM
RE: Quick Question. - GreyFox - 07-26-2011, 03:54 PM



User(s) browsing this thread: 1 Guest(s)