-
HoomanUnitsRespawn
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Owner of (Dying unit)) Equal to Player 2 (Blue)
-
-
Actions
-
Set Hooman = (Unit-type of (Dying unit))
-
Set HoomanDying = (Position of (Dying unit))
-
Wait 60.00 seconds
-
Unit - Create 1 Hooman for Player 2 (Blue) at (Center of Region 083 <gen>) facing Default building facing degrees
-
Unit - Order (Last created unit) to Attack-Move To HoomanDying
-
-
This trigger doesn't do that. It stores only 1 death location and 1 unit type. For example, a militia died, then a footman died, then a captain died, then the trigger created 3 captains and ordered them to go where the previous captain died. I think the main issue is the long wait time, but the player would be overpowered if units respawned every 2 seconds or such.
All suggestions are welcome.

EDIT: I thought about the Replace GUI, but I think it's the same issue since I'd have to use the same variable (Hooman) to replace the dying unit. I'm out of ideas.