Warcraft III resources & community, 2003–2006 · archived

No unit Issue order to revive hero?

3 posts
#1

No unit Issue order to revive hero?

I seem not able to find a way to revive all dead hero when a round is over. Like example if player 3 and player 7 has a dead hero, and a match is over - I want to remove every hero and start a new hero for everyone. I can't find a way to do that, when rematch starts - old heroes is revivable and with that they have 2 heroes. It's frusturating that this editor lacks some action like no "Unit - Issue revive order" or anything like that.

Anyone know how to make dead hero being removed from revivable hero during rematch? I'm getting close to finish my map.
#2
for Integer A = 1 to 12 do
hero - revive Hero(RandomUnitFromUnitgroup(Units owned by Player(Integer A) matching (Unit is hero = true)) ...
endfor
#3
Thank you! It works! One step closer to finish my map.