• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Reviving Heros with Triggers

Status
Not open for further replies.
Level 15
Joined
Dec 29, 2006
Messages
985
In a game im making theres a bug i cant get rid off. The heros will sometimes not revive. Something must be wrong with the revival condition or something :eekani: , but what i was wondering is this: if you use a trigger to revive an already living hero/non existant (removed from game) hero will it cause wc3 to crash?
 
we have to know the trigger befor helping you=P but you have to use if then ells in action like this

events
-unit dies
conditions
actions
if/then/ells

if
dying unit equall to (your hero)
then
wait (sec)
revive hero instantly at (your region)

you can allso use timers to make it look pro

by the way you have to use a variable and set the variable to your unit in map initalation if this shuld work(just becous the herois not the same hero all the time and we culd screw up ells, hope that will work=)) you can allso revive the "killed unti"
 
Last edited:
Status
Not open for further replies.
Back
Top