War3Modding
Hey there! Welcome register/Sign in here!


A new warcraft 3 Modding site.
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 How to make a countdown timer

View previous topic View next topic Go down 
AuthorMessage
steven5201
Administrator
avatar

Warcraft3 Account Name: : Steven5201
Warning :
Level : 999
Power : 9999999999
Int: : 9999999999
HP: : 9999999999
My Pet : Pet7
Posts : 7
Reputation : 0
Join date : 2011-09-12
Age : 20

Character sheet
Character Sheet: steven5201

PostSubject: How to make a countdown timer   Tue Dec 27, 2011 2:49 am

Back to top Go down
View user profile
Stygian_Shadow
Jr. Staff Member
Jr. Staff Member
avatar

Warning :
Level : 1
Power : 1
Int: : 1
HP: : 1
My Pet :
Posts : 43
Reputation : 3
Join date : 2011-09-24
Age : 19
Location : Lincoln, Nebraska

Character sheet
Character Sheet:

PostSubject: Re: How to make a countdown timer   Tue Dec 27, 2011 3:12 am

While this is useful, it doesn't show you how to make a Countdown Timer (the bar in the top right displaying time.) This starts an event off after an elapsed time.

Countdown timers require variables.

Code:
Timer
    Events
        Unit - A unit Dies
    Conditions
    Actions
        -------- The event can be whatever you want to trigger your timer. --------
        Countdown Timer - Start CD_Timer as a One-shot timer that will expire in 30.00 seconds
        -------- You choose the time. Select Repeating if you want it to loop. --------
        Set CD_Timer = (Last started timer)
        Countdown Timer - Create a timer window for CD_Timer with title Insert Title
        Set CD_Timer_Window = (Last created timer window)
        -------- Setting your variables to be the last Timer/Window is important when using more than one timer. --------
        Countdown Timer - Show (Last created timer window) for Player 1 (Red)
        -------- OR --------
        Countdown Timer - Show (Last created timer window)
        -------- For multiple players. --------

_________________
Back to top Go down
View user profile http://www.worldofterrosia.ucoz.com
 
How to make a countdown timer
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» **Make a logo for TCI Contest** (Contest Over)
» the Blood Timer
» other miniature companies who may make trolls?
» How to make your WoW work on NetEase servers.
» Can You Make Wolfenstein Characters in Other Graphics Engines?

Permissions in this forum:You cannot reply to topics in this forum
War3Modding :: Wc3 Modding :: World Editor Help :: Triggers-
Jump to: