How Do You Make A Re-settable Countdown?
blackjackel
Join Date: 2002-11-01 Member: 2151Members, Constellation
<div class="IPBDescription">A countdown that resets on trigger</div> This is what i want to do:
Push button, 10 second countdown starts to trigger an entity.
Push button again, countdown resets (starts over).
EG:
(Push button)....10...9....8....7....6 (Push button again) 10....9....8....
If nothing is pushed, countdown goes to 0 then triggers an entity. Then does nothing and waits for original button to be pushed to start countdown agian.
Eg: (push button) 10..9..8..7..6..5..4..3..2..1..[trigger entity]....wait for next push.
I asked this in mapcore.net but nobody bothered replying, i assume they dont know how.
Push button, 10 second countdown starts to trigger an entity.
Push button again, countdown resets (starts over).
EG:
(Push button)....10...9....8....7....6 (Push button again) 10....9....8....
If nothing is pushed, countdown goes to 0 then triggers an entity. Then does nothing and waits for original button to be pushed to start countdown agian.
Eg: (push button) 10..9..8..7..6..5..4..3..2..1..[trigger entity]....wait for next push.
I asked this in mapcore.net but nobody bothered replying, i assume they dont know how.