- Joined
- Oct 6, 2005
- Messages
- 34
ok in triggers i order this, my hero gets revived but not under my control it appears like an enemy, plz help.
Events:
Unit - A unit owned by Player 1 (Red) Dies
Conditions:
((Dying unit) is A Hero) Equal to True
Actions:
Set ReviveSeconds = ((Real((Level of (Dying unit)))) + 120.00)
-
Countdown Timer - Create a timer window for ReviveTimer with title ((Name of Player 1 (Red)) + Revive time
-
Set ReviveTimerWindow = (Last created timer window)
-
Countdown Timer - Start ReviveTimer as a One-shot timer that will expire in ReviveSeconds seconds
-
Countdown Timer - Show ReviveTimerWindow
-
Wait ReviveSeconds seconds
-
Countdown Timer - Destroy ReviveTimerWindow
-
Hero - Instantly revive (Dying unit) at (Random point in Revive <gen>), Show revival graphics
-
Camera - Pan camera for Player 1 (Red) to (Center of Revive <gen>) over 0.00 seconds
Events:
Unit - A unit owned by Player 1 (Red) Dies
Conditions:
((Dying unit) is A Hero) Equal to True
Actions:
Set ReviveSeconds = ((Real((Level of (Dying unit)))) + 120.00)
-
Countdown Timer - Create a timer window for ReviveTimer with title ((Name of Player 1 (Red)) + Revive time
-
Set ReviveTimerWindow = (Last created timer window)
-
Countdown Timer - Start ReviveTimer as a One-shot timer that will expire in ReviveSeconds seconds
-
Countdown Timer - Show ReviveTimerWindow
-
Wait ReviveSeconds seconds
-
Countdown Timer - Destroy ReviveTimerWindow
-
Hero - Instantly revive (Dying unit) at (Random point in Revive <gen>), Show revival graphics
-
Camera - Pan camera for Player 1 (Red) to (Center of Revive <gen>) over 0.00 seconds