• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

will this knockback works?

Status
Not open for further replies.
Level 4
Joined
Jul 24, 2013
Messages
95
hey,i want to create my own knockback skill,this would be my first..here is the simple trigger

-event-unit begin casting an ability
-cond-ability being cast equal to whateva-
-action-create "whateva destructible" at position of ability being cast

*the unit get a knockback due to collision with the destructible,right?
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
Adiktuz is right, using what you mentioned will result in a non-deterministic movement(adjustment).
 
Level 7
Joined
Aug 19, 2009
Messages
278
I had made a very simple knock back/movement system.

It is jass but easily usable in GUI.

But it would be hard for you to use I guess. But I can link if you want.


Basically to knock back happen, you need to set the units position.

The unit should be moved from one point to another slowly overtime.
 
Level 4
Joined
Jul 24, 2013
Messages
95
thx for the response guyz iv just manage to did it...this would by my first knockback Aoe spell and my first Variable making...but thxx for replying :)!
 
Status
Not open for further replies.
Top