NewAgeRetroHippie
Junior Member
Posts: 2
Threads: 1
Joined: Jun 2012
Reputation:
0
|
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 |
|
Damascus
Senior Member
Posts: 646
Threads: 118
Joined: Mar 2012
Reputation:
29
|
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
|
|
06-16-2012, 06:41 AM |
|
NewAgeRetroHippie
Junior Member
Posts: 2
Threads: 1
Joined: Jun 2012
Reputation:
0
|
RE: Make a door close and lock behind you?
Thank you so much!
|
|
06-16-2012, 09:53 AM |
|