• 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] mana death/ hero spawn

Status
Not open for further replies.
Level 1
Joined
Sep 5, 2007
Messages
3
Can anyone help me with triggers that will kill a unit when their mana reachs 0. Also can someone show me the triggers to revive a hero at a spawn point and depending on their level, the longer it gets.
 
Level 17
Joined
Jun 17, 2007
Messages
1,433
Here is one for your revive:

  • Hero Revive
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Wait ((Real((Hero level of (Triggering unit)))) x 3.00) game-time seconds
      • Hero - Instantly revive (Triggering unit) at (Center of Spawn <gen>), Hide revival graphics
 
Status
Not open for further replies.
Top