xericho
New Member
- Reaction score
- 0
Ive got a working revive system, but i wanted a revive timer. the timer does appear for every hero that dies but only the player red timer has the actual timer! i mean, the other players have no timer in them! just the window with the players name!
whats wrong with this trigger?
whats wrong with this trigger?
Revive Copy
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Countdown Timer - Create a timer window for ReviveTimer[(Player number of (Owner of (Dying unit)))] with title (Name of (Dying unit))
Set TimerWindow[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
Countdown Timer - Start ReviveTimer[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in (Real((Level of (Dying unit)))) seconds
Countdown Timer - Change the color of the title for (Last created timer window) to (80.00%, 50.00%, 79.00%) with 0.00% transparency
Wait (Real((Hero level of (Dying unit)))) seconds
Countdown Timer - Destroy TimerWindow[(Player number of (Owner of (Dying unit)))]
Hero - Instantly revive (Dying unit) at (Center of Rezzer[(Random integer number between 0 and 11)]), Show revival graphics
Unit - Set mana of (Dying unit) to 50.00%
Camera - Pan camera for (Owner of (Dying unit)) to (Position of (Dying unit)) over 1.00 seconds
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Countdown Timer - Create a timer window for ReviveTimer[(Player number of (Owner of (Dying unit)))] with title (Name of (Dying unit))
Set TimerWindow[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
Countdown Timer - Start ReviveTimer[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in (Real((Level of (Dying unit)))) seconds
Countdown Timer - Change the color of the title for (Last created timer window) to (80.00%, 50.00%, 79.00%) with 0.00% transparency
Wait (Real((Hero level of (Dying unit)))) seconds
Countdown Timer - Destroy TimerWindow[(Player number of (Owner of (Dying unit)))]
Hero - Instantly revive (Dying unit) at (Center of Rezzer[(Random integer number between 0 and 11)]), Show revival graphics
Unit - Set mana of (Dying unit) to 50.00%
Camera - Pan camera for (Owner of (Dying unit)) to (Position of (Dying unit)) over 1.00 seconds