• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

need a ACTIVE spell that knockbacks every unit thats close to hero

Status
Not open for further replies.
Level 11
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 68
Joined
Aug 10, 2018
Messages
7,128
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 19
Joined
Mar 16, 2008
Messages
796

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