Countdown Timer

Manee

New Member
Reaction score
20
Code:
Hero Respawning
    Events
        Unit - A unit Dies
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Countdown Timer - Create a timer window for Start with title (Hero of + (Name of (Owner of (Triggering unit))))
        Set StartWindow = (Last created timer window)
        Countdown Timer - Show StartWindow
        Countdown Timer - Start Start as a One-shot timer that will expire in 25.00 seconds
        Wait 25.00 seconds
        Countdown Timer - Destroy StartWindow
        Custom script:   call DestroyTimer(udg_StartWindow)
        Hero - Instantly revive (Triggering unit) at ((Owner of (Triggering unit)) start location), Show revival graphics

sometimes the timer doesn't disappear after finishing its purpose
 

Draphoelix

It's not the wintercold that's killing me
Reaction score
132
Code:
     Countdown Timer - Start Start as a One-shot timer that will expire in 25.00 seconds

Give start an array.

If
MUI less than 100
Then
set MUI = MUI+1
Else
set MUI = 1
Start Start[MUI] as one shot timer that will expire in 25 seconds
set Unit[MUI] ) triggering unit
set custom value of triggering unit to MUI
add triggering unit to Group
Add event to the trigger Revive the event Start[MUI] timer expires



Revive
Event
Condition
Action
Pick every unit in Group
set MUI2=Custom value of picked unit
Revive Unit[MUI]
 

Manee

New Member
Reaction score
20
hmm... i dnt actually understand the trigger u gave me >_<
perhaps i should read the tutorials 1st
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top