i got a question. need help :/ Created 20 years ago2004-08-27 06:55:08 UTC by SwivMaster SwivMaster

Created 20 years ago2004-08-27 06:55:08 UTC by SwivMaster SwivMaster

Posted 20 years ago2004-08-27 06:55:08 UTC Post #54436
i want to make a butten that will trigger a door under this circumstances:
  • if the door is open it will close the door.
  • if the door id closed it will leave the door closed.
i understand it has something to do with an env_global but im not sure how to use it in my situation.
any help will be greatly appreciated :
Posted 20 years ago2004-08-27 07:49:24 UTC Post #54453
Will the player be able to open the door any other way swiv?
Posted 20 years ago2004-08-27 08:10:54 UTC Post #54459
Try the trigger_relay:
http://cariad.co.za/twhl/entityinfo.php?ent=trigger_relay&game=1

I don't know how it behaves on a door but it's worth a try.
Posted 20 years ago2004-08-27 08:44:02 UTC Post #54469
yes the player will be able to open it with func button
Posted 20 years ago2004-08-27 10:13:59 UTC Post #54492
i've tryed that trigger_relay with trigger state 'off', and it doesnt work.
even when the door is closed it toggles it to open instead of leaving it closed.
Posted 20 years ago2004-08-27 11:49:20 UTC Post #54510
set the door to "start open" and then a re-open delay to -1. that should make it work.
Posted 20 years ago2004-08-27 14:22:25 UTC Post #54535
r u sure it works that way?
i tryed and still it works as a toggle
Posted 20 years ago2004-08-27 16:58:23 UTC Post #54581
doors can still look normal to the player, even if the game thinks the door is open. if you can work it so the door wont close when triggered ifits already open, just make the door in its "open" state look closed to the player!.
Posted 20 years ago2004-08-27 17:01:52 UTC Post #54582
You could probably use a func_wall_toggle to help somehow.

If all else fails, bemuse the player with lots of fancy effects and it'll seem better than a door to 'em ;)
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 20 years ago2004-08-27 17:02:52 UTC Post #54584
amen.
Posted 20 years ago2004-08-27 17:04:38 UTC Post #54586
You could probably use a func_wall_toggle to help somehow.

If all else fails, bemuse the player with lots of fancy effects and it'll seem better than a door to 'em ;)
'em
Lo, trapt. Note the lack of an opostrophe of omission before the 'l' there so I'm not greeting you but using the old word.
Seventh-Monkey Seventh-MonkeyPretty nifty
You must be logged in to post a response.