Trigger to close door only

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Ramah Palmer
Warrant Officer
Posts: 131
Joined: Sun May 25, 2003 10:13 am
Location: Nottinghamshire: UK

Trigger to close door only

Post by Ramah Palmer »

How can I make a multiple trigger that only closes a door but cannot open it?
I want it to be a door to a cage that when the cage is left the door closes automatically behind but cannot be opened if the trigger is walked back over.
I'm sure this is quite easy but I just don't know enough commands.

Is it something like:

$door close

I suppose if someone walks over a trigger that only closes a door and the door is already closed nothing will happen?

Thanks.
Mapping is just INCREDIBLY time consuming.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

will work

Post by tltrude »

That will work. Other ways would be to remove the trigger after it is fired, or just set key/value "cnt 1" (count one) for the trigger_multiple. Watch out you don't trap the player in the cage!
Tom Trude,

Image
Post Reply