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

Stampede like ability

Status
Not open for further replies.
Level 10
Joined
Mar 16, 2009
Messages
354
Trigger a dummy abillity
Base it off mana burn and set the cooldown and mana cost. Remove everything else the abillity has. And create this trigger

Event - Generic unit event - A unit starts the effect of an abillity
Condition - Abillity Comparision - Abillity being cast equal to (YourDummyAbillity)
Action - Create 1 (the unit you want in your stampede) at point of unit(casting unit)
- Issue order last created unit to attack to target of spell
- Create 1 (the unit you want in your stampede) at point of unit(casting unit)
- Issue order last created unit to attack to target of spell
- Create 1 (the unit you want in your stampede) at point of unit(casting unit)
- Issue order last created unit to attack to target of spell
- Wait 5 seconds
- Kill all (the unit you want in your stampede) for owner of casting unit
 
Level 5
Joined
Dec 1, 2007
Messages
121
Unit Group - Pick all units of type Stampede and do actions
Unit - Kill picked unit

Thank you a lot!

Can someone help? I want to make all units die if ability stops channeling (I made it after stampede so hero can't attack)

EDIT:
Done. Just make same trigger, but
Condition: (Stampede spell) not equal to ability being cast
Action: Kill unit type (Stampede unit)
And they all die...
 
Status
Not open for further replies.
Top