Jolly chap*
New Member
- Reaction score
- 34
Hi. I'm in a spot of trouble right now with this hero countdown timer window trigger. So the problem is this: the timer window appears for the appropriate player but that's just it. The window appears but there's no time.
There's also another problem with this, as the window is never removed. :nuts:
Is there anyway to fix these problems? I'm not very adept at timer windows and these kinds of things.
This trigger is the one that commences the timer.
This is one of the triggers to hide the timers for the players.
Thanks in advance and +rep to those who help as well.
There's also another problem with this, as the window is never removed. :nuts:
Is there anyway to fix these problems? I'm not very adept at timer windows and these kinds of things.
This trigger is the one that commences the timer.
Code:
Revive
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Countdown Timer - Start Dead_Hero_Timer[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in (Real((Level of (Dying unit)))) seconds
Countdown Timer - Create a timer window for (Last started timer) with title Revive in:
Set Dead_Hero_Window[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
Countdown Timer - Hide (Last created timer window)
Countdown Timer - Show (Last created timer window) for (Owner of (Dying unit))
This is one of the triggers to hide the timers for the players.
Code:
Death Blue
Events
Time - Dead_Hero_Timer[2] expires
Conditions
Actions
Countdown Timer - Hide Dead_Hero_Window[2]
Thanks in advance and +rep to those who help as well.