• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How to make a countdown timer?

Status
Not open for further replies.
Level 6
Joined
Feb 16, 2014
Messages
193
  • Timer
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start Timer as a Repeating timer that will expire in 10.00 seconds
      • Countdown Timer - Create a timer window for (Last started timer) with title Timer Window
      • Countdown Timer - Show (Last created timer window)
You'll be needing 2 variables:
A Timer variable and a Timer Window variable.
 
Level 6
Joined
May 20, 2014
Messages
228
Also don't forget to destroy the timer after timer expires.

  • timer
    • Events
      • Time - Timer expires
    • Conditions
    • Actions
      • Countdown Timer - Destroy Timer
 
Status
Not open for further replies.
Top