SkullCruncher Posted July 16, 2017 Share Posted July 16, 2017 So I've made a big ass door that I'd like to remain opened once used by trigger_once (not pressed as a button). I've been experimenting with "Delay" and "Wait" values, but it seems it won't do the trick, the door keeps closing. One other thing that I noticed is if you use trigger_once or trigger_multiple by pressing it to open a door with a Wait of 0, it stays opened or closed. It depends on how you press it. I wanted to do the same thing for non-button pressing trigger_once, but I guess that's not it. Suggestions/Examples? Link to comment
IrocJeff Posted July 16, 2017 Share Posted July 16, 2017 So I've made a big ass door that I'd like to remain opened once used by trigger_once (not pressed as a button). I've been experimenting with "Delay" and "Wait" values, but it seems it won't do the trick, the door keeps closing. One other thing that I noticed is if you use trigger_once or trigger_multiple by pressing it to open a door with a Wait of 0, it stays opened or closed. It depends on how you press it. I wanted to do the same thing for non-button pressing trigger_once, but I guess that's not it. Suggestions/Examples?Did you try using a wait value of -1? That should keep it open after being triggered. Link to comment
SkullCruncher Posted July 16, 2017 Author Share Posted July 16, 2017 Did you try using a wait value of -1? That should keep it open after being triggered.Yep, tried. The door returns back normally as usual. Link to comment
Noodle Posted July 17, 2017 Share Posted July 17, 2017 Does the func_door have any special value selected? It should have the box checked in 'toggle' and you should only trigger once with a trigger_once entity. If you do trigger_multiple and have a wait of 0, it means that it will trigger the entity many times in the span of a second. Link to comment
ensiform Posted July 17, 2017 Share Posted July 17, 2017 Doors have special trigger when you don't place it that allows the door to remain open as long as you are within the bounds. This is only possible without a manually placed trigger Link to comment
Circa Posted July 17, 2017 Share Posted July 17, 2017 You could just set the wait to 99999 or some other high number. Not the best solution but it should work. Link to comment
SkullCruncher Posted July 17, 2017 Author Share Posted July 17, 2017 Does the func_door have any special value selected? It should have the box checked in 'toggle' and you should only trigger once with a trigger_once entity. If you do trigger_multiple and have a wait of 0, it means that it will trigger the entity many times in the span of a second. Seems like checking the "Toggle" box ON did the trick, along with a "Wait" of -1. Thank you very much Noodle and everyone else that gave me tips. Link to comment
ensiform Posted July 17, 2017 Share Posted July 17, 2017 spawnflags of at least 8 (TOGGLE) on the door itself should make it stick. (but can still be toggled again), -1 wait on the door will be a 1 and done. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now