How do I make it so this works for each unit that dies? The RespawnPoint variable can't interfere with other dying units.
-
Respawn
-
Events
- Unit - A unit Dies
-
Conditions
- (Owner of (Triggering unit)) Equal to Neutral Hostile
-
Actions
- Set RespawnPoint = (Position of (Triggering unit))
- Wait 20.00 seconds
- Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at RespawnPoint facing 270.00 degrees
-
Events