Countdown
A property type for a downward-counting timer.
The Countdown property type is a timer that counts down from a set value. When it reaches zero, it stops.
- Default Value:
0(stopped)
Common Use Cases
- A bomb timer in a defusal game mode.
- A round timer that ends the game when it reaches zero.
- A cooldown timer for a player's ability.
Operators (in Change Property action)
- Start: Starts the countdown. It will begin counting down from its current value.
- Stop: Pauses the countdown at its current time.
- Reset: Stops the countdown and sets its value to the specified duration. Note that this does not start it; you need a separate
Startaction.
Checks (in Property Condition)
- Equals / Greater Than / Less Than: Compares the countdown's remaining time (in milliseconds) to a specified duration. This is useful for creating warnings, like displaying a message when the countdown is less than 10 seconds.