button beeing unpressed by a trigger?

Avatar
mcdaniels
50 Posts
Posted May 23, 2011
I want a button to reset before its actual reset delay passed by. The target input field just offers AddOutput, PressIn, PressOut, Kill, KillHierarchy, and the fireUser1-4. Tried pressout so far, but didnt change a thing. The other target inputs dont make sense...
Thanks
Advertisement
Registered users don’t see ads! Register now!
Avatar
torquestomp
37 Posts
Posted May 24, 2011
Replied 1 day later
What kind of button? If you use a prop_button, you can fire 'CancelPress' to accomplish this.

If you're using a func_button, set the reset delay to -1, and use an external logic_timer for the reset instead. Then, for a premature reset, stop the logic_timer, and just invoke what it does early. That should work.

Avatar
mcdaniels
50 Posts
Posted May 25, 2011
Replied 16 hours later
thanks!