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

need help on ranged attack

Status
Not open for further replies.
Level 10
Joined
Jun 6, 2007
Messages
392
You could use orb of slow to make the spell cast on attack. However, that does only work if the unit is ordered to attack. That issue can be fixed with a trigger like:

e:
unit is attacked
c:
current order of attacking unit not equal to "attack"
attacking unit has ability orb of slow
a:
order attacking unit to attack attacked unit
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Add the Shockwave as a hidden ability inside spellbook and make it have the same orderstring as attack ("attack") and 0 cooldown. If that doesn't work, trigger "A unit is attacked" and order the attacking unit to cast the hidden ability to the target.
 
Level 4
Joined
Jan 13, 2013
Messages
92
rep+ for the one with the idea of using orb of slow :), well it works when you command the unit to attack, but it doesnt work when the unit attacks automatically
 
Status
Not open for further replies.
Top