Hi helpers.I am trying to make a dota-like timer for the respawning time.Does any one how will i make it what variables will i use and stuff.I wand every player to see the timer of his hero only and none else.this is what i have done till now but its not working properly..I hope smone to know a way.Thank you again helpers
timer death
Events
Time - Every 1.00 seconds of game time
Unit - A unit Dies
Conditions
(((Dying unit) is A Hero) Equal to True) and ((Owner of (Dying unit)) Equal to Player 2 (Blue))
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is dead) Equal to True
Then - Actions
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
Loop - Actions
Countdown Timer - Create a timer window for Start_timer with title |cff32cd32Revive in...
Countdown Timer - Start Start_timer as a One-shot timer that will expire in ((Real((Level of (Dying unit)))) x 2.00) seconds
Wait ((Real((Level of (Dying unit)))) x 2.00) seconds
Countdown Timer - Destroy (Last created timer window)
Else - Actions
Countdown Timer - Destroy (Last created timer window)
timer death
Events
Time - Every 1.00 seconds of game time
Unit - A unit Dies
Conditions
(((Dying unit) is A Hero) Equal to True) and ((Owner of (Dying unit)) Equal to Player 2 (Blue))
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is dead) Equal to True
Then - Actions
Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
Loop - Actions
Countdown Timer - Create a timer window for Start_timer with title |cff32cd32Revive in...
Countdown Timer - Start Start_timer as a One-shot timer that will expire in ((Real((Level of (Dying unit)))) x 2.00) seconds
Wait ((Real((Level of (Dying unit)))) x 2.00) seconds
Countdown Timer - Destroy (Last created timer window)
Else - Actions
Countdown Timer - Destroy (Last created timer window)