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
Make a door close and lock behind you?
Author Message
NewAgeRetroHippie Offline
Junior Member

Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #1
Make a door close and lock behind you?
I'm working on a custom story, and I need to know how to make a door close and lock behind you when you've walked through it. I know that I need to place a script area, but other than that, I'm clueless.
06-16-2012 05:59 AM
Find all posts by this user Quote this message in a reply
Damascus Offline
Senior Member

Posts: 554
Joined: Mar 2012
Reputation: 27
Post: #2
RE: Make a door close and lock behind you?
Add a collide callback for the script area, and then call the functions SetSwingDoorClosed and SetSwingDoorLocked. If you don't know how to write those, you can find them here:

http://wiki.frictionalgames.com/hpl2/amn..._functions

Custom Story: The Great Work - FULL RELEASE
06-16-2012 06:41 AM
Find all posts by this user Quote this message in a reply
NewAgeRetroHippie Offline
Junior Member

Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #3
RE: Make a door close and lock behind you?
Thank you so much!
06-16-2012 09:53 AM
Find all posts by this user Quote this message in a reply
Post Reply 




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