• 🏆 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!

[Spell] The casting angle of Stampede.

Status
Not open for further replies.
Level 13
Joined
Mar 24, 2013
Messages
1,105
IIRC, The direction the units who are stampeding are going is the direction the caster is facing when they actually cast the ability. When you create the dummy you should have it facing the current facing of the casting unit.

If your dummy has 0 movement I'm not sure how exactly it will work (As it wont turn when it casts the ability) maybe look into that.
 
Level 22
Joined
Sep 24, 2005
Messages
4,821
JASS:
native CreateUnit takes player id, integer unitid, real x, real y, @real face@ returns unit
Set the proper angle when you create the dummy, use degrees.
 
Status
Not open for further replies.
Top