one-way doors

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Machu
Lance Corporal
Posts: 23
Joined: Sat Aug 09, 2003 1:03 pm
Location: Virginia

one-way doors

Post by Machu »

I'm trying to make doors that only operate from the inside. I read the lockable doors tut, but I'm not sure how to do one-way doors. Any help would be appreciated :lol:
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Using func_rotatingdoor or func_door will spawn triggers to operate it from both sides.

You will have to make triggers for the door manually and make the door a script_object and rotate it when the triggers are fired... ( and play sounds and stuff like that ).
Admin .MAP Forums
Image
Head above heels.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Alwaysaway 0

Post by tltrude »

The default on rotating doors is key/value "alwaysaway 1". If you set it to "alwaysaway 0" the door will only open in the direction of the set angle.

My door2 tutorial map has a bunch like that.

http://pages.sbcglobal.net/tltrude/Temp/door2.zip

Image
Tom Trude,

Image
Post Reply