I have been working on a map centered around leveling your hero. My question is if my old respawn system (for non-leveling heroes) will still work. Normally I would just spawn another unit of the same type and put it into the same variable, but now that I have units that level, it resets their experience and levels. I have done some of searching but no solutions have jumped out at me.
Yeah, I remember reading somewhere where you have to actually make him invincible at 1 health, and play the death animation. Then teleport him to the location, I think. I haven't looked into it though.
Yeah, I remember reading somewhere where you have to actually make him invincible at 1 health, and play the death animation. Then teleport him to the location, I think. I haven't looked into it though.
@zifoon: Go
Yeah ran into that issue as well but I've done a bit of a diffrent way of handling it, the catch when hes about to die is done with a behavior instead of a trigger then everything is run from there (hides him, creates a quick fake hero to be killed and hides the hero ui and all that) then when its revived the trigger simply moves him fixes up his health and such and reshows the ui and the unit, works well so far still may need another trigger check thou for thoese nasty damages that get past my behaviors vaildator heh.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have been working on a map centered around leveling your hero. My question is if my old respawn system (for non-leveling heroes) will still work. Normally I would just spawn another unit of the same type and put it into the same variable, but now that I have units that level, it resets their experience and levels. I have done some of searching but no solutions have jumped out at me.
Yeah, I remember reading somewhere where you have to actually make him invincible at 1 health, and play the death animation. Then teleport him to the location, I think. I haven't looked into it though.
Yeah heard of that too.
Oh wait...
It was me who said that. You can search the old post but I made a MUI version of it recently.
http://www.sc2mapster.com/maps/aos-template/
Hope this helps.
@zifoon: Go Yeah ran into that issue as well but I've done a bit of a diffrent way of handling it, the catch when hes about to die is done with a behavior instead of a trigger then everything is run from there (hides him, creates a quick fake hero to be killed and hides the hero ui and all that) then when its revived the trigger simply moves him fixes up his health and such and reshows the ui and the unit, works well so far still may need another trigger check thou for thoese nasty damages that get past my behaviors vaildator heh.