• 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 a ACTIVE spell that knockbacks every unit thats close to hero

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
hi i need a spell.

spell is active. hero enables it then it lasts x second. every time when hero is very close to enemy units they will get knockbacked till the duration of spell ends. i have been trying to look at the hive workshop if something similar alreday exits but i didnt manage to find it. have u got any tips how to make such spell or what to base it on.
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,873
I know you have knockback spells in your map already. Take the code from an Area of Effect knockback spell that you've already created and use it in a trigger like this:
  • Events:
  • Game - Every 0.10 seconds
  • Actions:
  • // Pick every enemy around your hero and apply knockback to them
Turn this trigger on when you cast the spell and turn it off when the spell ends.
 
Level 21
Joined
Mar 16, 2008
Messages
956

Use the one in this map called feral impact or something like that
 
Status
Not open for further replies.
Top