• 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.

[Solved] Ressurrect with specific HP/MP

Status
Not open for further replies.

TKF

TKF

Level 19
Joined
Nov 29, 2006
Messages
1,267
Is it for a 1 hero for player map? If so this is very handy alternative and simple.

Theres an event called Unit - Life, though only for specific units, not generic.

  • Trigger
  • Trigger - Add to Check <gen> the event (Unit - Temp_Unit's life becomes Less than 0.1)
Temp_Unit it the specific unit. Then check if Temp_Unit is dead = false.
 
Level 7
Joined
Nov 18, 2012
Messages
272
Odd... It doesn't work at all.

  • Ressurection
    • Events
      • Game - DeathEvent becomes Equal to 2.00
    • Conditions
      • IsUnitReincarnating[UDex] Equal to True
      • (Unit-type of UDexUnits[UDex]) Equal to Unit
Not even the test text trigger won't work.
 
Status
Not open for further replies.
Top