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

[Solved] Unit - Make unit explode on death

Status
Not open for further replies.
When using the trigger function Unit - Make Unit explode on death, is there a way to reset it? I have this trigger function at the very start of my spell, and I only want them to explode if they die. However, if they don't die, they will still explode on death later on if they do end up dying to something else.
 
Last edited by a moderator:
try turning the explode on death into a spell

use the goblin kaboowee spell, and give it to the unit you want to kill at the moment of their death. those guys always explode when they death, its part of the spelll...

in fact that actually helps me with my exploding sheep problem
 
Have you tried messing around with the incinerate ability? They explode and leave no corpse behind. Or you can do this
  • Melee Initialization
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is in group) Equal to True
    • Actions
      • Unit - Replace (Dying unit) with a (Unit-type of (Dying unit)) using The new unit's max life and mana
      • Unit - Explode (Last replaced unit)
 
Status
Not open for further replies.
Back
Top