• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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 74
Joined
Aug 10, 2018
Messages
7,961
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 22
Joined
Mar 16, 2008
Messages
981

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