Oh. Well make a unit variable and set zergling 1 to that variable. Then the event will be when Unit dies (Unit_Variable). Spawn This unit, Set Unit_variable to last created unit.
Well instead you could be more specific like instead of any unit it could be variable_Unit dies or unit with unit type dies. Then you can create a unit with same unit type or something.
If you are trying to make the spawned zergling to be owned by the same player with the dead unit you can say owner of triggering unit.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@Redwulf85048: Go
Oh. Well make a unit variable and set zergling 1 to that variable. Then the event will be when Unit dies (Unit_Variable). Spawn This unit, Set Unit_variable to last created unit.
Will that work?
Well instead you could be more specific like instead of any unit it could be variable_Unit dies or unit with unit type dies. Then you can create a unit with same unit type or something.
If you are trying to make the spawned zergling to be owned by the same player with the dead unit you can say owner of triggering unit.