Trigger_presence
zil
Join Date: 2003-06-19 Member: 17514Members, Constellation
<div class="IPBDescription">creating an automatic door</div> I've made a door that opens automatically for everyone that comes neer it and closes when everone leaves. However if u leave and re-enter quickly the system gets messed up even though i have the doors speed set very high. The reason this is happening is because the trigger_presenec is sending the trigger message to the door while it is in motion and therefore the door ignores the message. Ive tried increasing the speed of the door to an amount where that won't happen but then the door moves way to fast to be visible inbetween psotions and looks really bad. I need a way for the message that the trigger_presence sends to be held until the door is free to recieve it. I tried to do this by giving a multi_source children but when u do this it seems that u are unable to make the multisource as a master to something so it won't work. Any ideas as to what i can do? Apart from just making a normal door like everyone else would <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Comments
You could try using a train as your door.
How about a momentery door, they open while your turing a wheel and start closing when u stop. i belive you can use that trig as the activator for it.
Trigger relays are easy time deelays (argh).
No clue whats the simplest way of synciong it. tried lots without succes.
Another idea could be triggering an invisible func_wall_toggle (for the blocking effect) and an illusionary door for the visual effect.
The problem with trigger presence is that it goes out of sync with objects that dont toggle in zero-time. Lights, single initiations and not moving objects are fine.
Phasegates and super fast movements will always cause timing/ sync problems on trigger_presence.
I dont like trigger-presence doors. I hate them in eclipse because they never hehave like they should.
Just give them a button or make them use-only.
thx for the help
Use a func button AS door.
Func buttons have an "activate on touch" flag, a lip value and a reset time to close again. Jiust causes little headache on skulks running against a door to open it.
you can also make a second, normal, func button that aims on that func button, that is your door.
using Buttons as doors and doors_or_buttons as elevators are simple tricks for better NS performance.