How do I make it so when a hero dies, he respawns at a point? I tried using unit groups and everything but it just never works. I cannot use Any Unit Dies either cause there are multiple units that the player can control.
How do I make it so when a hero dies, he respawns at a point? I tried using unit groups and everything but it just never works. I cannot use Any Unit Dies either cause there are multiple units that the player can control.
Any unit dies
Conditions> Unit type of unit == (whatever)
wait.(however long you wanna make it take to respown.)
The thing is, the player controls multiple units, so what happens is one of the non-hero units dies, and then the hero is remade so you have multiple heroes
The thing is, the player controls multiple units, so what happens is one of the non-hero units dies, and then the hero is remade so you have multiple heroes
Dude thats why you have the condition so it only respawns the hero type unit, unless players have hero and non hero of the same unit type( a hero typ eis like Carrier, mothership,marine, etc.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do I make it so when a hero dies, he respawns at a point? I tried using unit groups and everything but it just never works. I cannot use Any Unit Dies either cause there are multiple units that the player can control.
Any unit dies
Conditions> Unit type of unit == (whatever)
wait.(however long you wanna make it take to respown.)
Respawn at point
@Taintedwisp: Go
The thing is, the player controls multiple units, so what happens is one of the non-hero units dies, and then the hero is remade so you have multiple heroes
Global variable:
Hero <unit>
event any unit dies
condition:
triggering unit=hero
respawn at point.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Dude thats why you have the condition so it only respawns the hero type unit, unless players have hero and non hero of the same unit type( a hero typ eis like Carrier, mothership,marine, etc.