- Joined
- May 11, 2009
- Messages
- 32
So as title says I'm having a real difficult time making this happen, the problems I'm encountering and the methods I've used are as follows.
Enabling hero revive as an ability to the unit makes the unit always use Rally as a command instead of Move and this works but the hero must be clicked on and then it starts spawning but there is no progress bar. So I moved on from this method.
I tried a trigger and here it is.
I also set the unit as the respawning unit in the hero data. Found it by accident but it gave me hope for a second.
Any ideas?
Enabling hero revive as an ability to the unit makes the unit always use Rally as a command instead of Move and this works but the hero must be clicked on and then it starts spawning but there is no progress bar. So I moved on from this method.
I tried a trigger and here it is.
-
Untitled Trigger 001
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
Unit Group - Pick every unit in (Units of type Human Zone Controller) and do (Actions)
-
Loop - Actions
-
Countdown Timer - Create a timer window for (Last started timer) with title Hero Respawning at ...
-
Countdown Timer - Start (Last started timer) as a One-shot timer that will expire in 10.00 seconds
-
Wait 10.00 game-time seconds
-
Hero - Instantly revive (Triggering unit) at (Position of (Picked unit)), Show revival graphics
-
Countdown Timer - Destroy (Last created timer window)
-
-
-
-
I also set the unit as the respawning unit in the hero data. Found it by accident but it gave me hope for a second.
Any ideas?