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

When a unit dies, a new unit is spawned from it?

Status
Not open for further replies.
Level 10
Joined
Nov 5, 2008
Messages
536
I have changed the brood lords attack. It shoots a normal missile. When it hits the enemy, they get a buff that lasts 15 seconds. If that unit dies during 15 seconds, broodlings are spawned from it. If the unit lives longer than the 15 seconds of the buff, the buff is just removed.

I can´t add the "spawn broodlings - effect" to the behaviours "effect - final" slot, since it makes them spawn even if the behaviour is removed.

Any thoughts on how to make this work?

(If a unit with a buff dies, a enemy unit is spawned from it)
 
Last edited:
Level 9
Joined
Dec 21, 2006
Messages
490
Add a behavior on every unit that shall spawn a unit on death. every buff has a trigger for death events within modifications - fight : reaction on death, you can even validate the deathtype with a custom validator inside the triggered effect.
 
Status
Not open for further replies.
Top