The Countdown node is similar to the Stopwatch node, as it can start, stop, and reset the timer, and takes in a value to count down from. This node returns the remaining time, the time that passes the stopping point (rollover time), and if this timer is running currently.
Inputs
Start (Call)
Calls to start the countdown.
Stop (Call)
Calls to stop the countdown.
Reset (Call)
Calls the reset the countdown.
Value (float)
The value to countdown from.
OnlyForUser (User)
Makes the OnCountdownFinished
output fire only for this user.
Outputs
OnStart (Continuation)
Fires when the countdown begins.
OnStop (Continuation)
Fires when the countdown stops.
OnReset (Continuation)
Fires when the countdown resets.
OnCountdownFinished (Continuation)
Fires when the countdown hits 0. Fires for all users if there is no input from OnlyForUser
.
Time (float)
The remaining amount of time before hitting 0.
RolloverTime (float)
The amount of time that has passed beyond hitting 0. Before hitting 0, this will instead show the amount of time remaining.
IsRunning (bool)
Returns true if this node is counting down right now.