• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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
 
Level 4
Joined
Nov 9, 2008
Messages
112
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)
 
Level 2
Joined
Nov 14, 2008
Messages
21
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.
Top