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

Hero Death

Status
Not open for further replies.

xplicitjohn

X

xplicitjohn

In my map, if a hero dies during a wave. The player will have to wait till the end of the wave to revive. I managed to get 1 hero to be revived but if 2 hero dies, the last one dead revives. Help?

Death
  • Death
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
      • ((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
    • Actions
      • Set DEAD = (Dying unit)
      • Unit Group - Add DEAD to DEADHERO
Revival
  • Revive
    • Events
      • Player - Player 1 (Red) types a chat message containing dead as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in DEADHERO and do (Actions)
        • Loop - Actions
          • Hero - Instantly revive DEAD at (Center of (Playable map area)), Show revival graphics
 

xplicitjohn

X

xplicitjohn

This is because the trigger itself is not MUI
Meaning, only the last unit will be revived because it has overwrite the recent last unit (2 last unit)

Im not good with MUI can u help?
 

xplicitjohn

X

xplicitjohn

  • Hero - Instantly revive DEAD at (Center of (Playable map area)), Show revival graphics
Should be

  • Hero - Instantly revive Picked Unit at (Center of (Playable map area)), Show revival graphics

OMG works! TYVM :D. Such a simple thing and i couldnt even figure it out. So stupid XD
 
Status
Not open for further replies.
Top