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

how can i make a unit spawn skeletons or banshees when killed

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
My suggest is that upon unit is trained, inject that unit with a Black Arrow buff (depending on the Unit-type of that Unit).
Make the buff duration to 0 (permanent).

OR, you can add hidden abilities to that unit (Spell Book), that upon death, you can do this;
  • Spawn
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Level of Skeleton Warrior for (Triggering unit)) Greater than 0
    • Actions
      • Set TempLoc = (Position of (Triggering unit))
      • Unit - Create 1 Skeleton Warrior for (Triggering player) at TempLoc facing Default building facing degrees
      • Custom script: call RemoveLocation(udg_TempLoc)
 
Level 21
Joined
Mar 2, 2010
Messages
3,069
with that kind of solution i will have to program each unit by hand so why use a buff then.(unit type cant be specified as biological as far as i can see.) do you know of an ability that can add a buff without affecting the unit and without being seen.(hidden buffs is possible at the very least.) abilities can be upgraded through research and get a different buff for each level.
 
Last edited:
Status
Not open for further replies.
Top