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

Easy and Quick help.

Status
Not open for further replies.
Level 25
Joined
Jul 10, 2006
Messages
3,315
Use a damage detection system to detect when a unit is about to take fatal damage (DamageEventAmount >= Life of DamageEventUnit), then make the unit invulnerable, paused, and add Locust.

Set the unit to a local variable and remove the unit after 2 minutes.

Note that you'll have to have a custom experience and bounty system, since units don't actually get killed.
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
Why not do as I said then just add a simple 'A Unit Dies / Dying unit Equal to Footman (e.g)' then do what you said (Set the unti local Variable and the rest)?

I'm not expert at Triggers... just had the idea and wondered if it will work.

Nope, doesn't work. The trick is that the unit must be technically "alive" until we remove it.

Anyway, attached is the testmap for any interested.
 

Attachments

  • UnitsDontDie.w3x
    28.5 KB · Views: 28
Status
Not open for further replies.
Top