• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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