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

How to Make a spell which knocks the target away pls help me

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Knock back is basicly move unit to location over time but since there is no command which moves it over time you have to use triggers to do it.
After making the "move over time" function simply get it to order the targeted unit to move over time to a cerian location which can be in line from the caster using polar projection.

THe move over time function simply moves a unit every 0.10-0.03 seconds so much towards the target location.

Remember to check for leaks and for multincastability use handlevars and it should be easy in jass.
 
Status
Not open for further replies.
Top