[Trigger] hero revive

Status
Not open for further replies.
Level 2
Joined
Nov 14, 2008
Messages
21
i am making a map and its like dota where u choose a hero from a tavern and go attack things i got that working fine but i cant figure out how to make it so tht when u die u get revived after certain amount of time i tried something but it just created a new hero same type but it was lvl1 with none of the items i had before...

so basically i wanna be able to revive the exact hero that just died for owning player and have hero created in a certain place
 
event - unit dies
condition - dying unit is hero equal true
action - wait xx second(if u want revive hero for xx time)
- instantly revive dying unit at position of "where" blah blah blah
 
Yeah as Arusar said, the timer depends on level i think its multiplyer of 5 lvl 1 5 sec, lvl 2 10 sec, lvl 3 15 sec. The only thing you should add to the trigger is the condition, that dying unit is an ally of sentinel/scourge, so you can set where the specific hero should revive.

Edit: aw you are using Wait..than it should be wait 5*level of dying hero (something in this way)
 
ok i got it to work but now im trying to figuer out how to change max level of the heros and im confussed i thaught it would be in object editor but i cnt find it
 
Status
Not open for further replies.
Back
Top