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

making hero change facing angle

Status
Not open for further replies.
Level 6
Joined
Jul 25, 2005
Messages
221
  • Spinning
  • Events
    • Periodic Timer - Every 0.03 seconds in-game time
  • Conditions
  • Actions
    • Set real_Facing = real_Facing + 1
    • If (real_Facing) = 360
      • Then
        • Set real_Facing = 0
      • Else
    • Unit - Set facing of unit_YourUnit to real_Facing
This is realistic spinning. :cute:
 
Level 5
Joined
Dec 18, 2007
Messages
205
just a little (mybe stupid) question:
does 360 exist as a value? i mean does WE accept it? (it is 0, i know)
and does WE accept higher values and converts them? (e.g. 480 is accepted because WE turns it to 120)
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Wc3 accepts even higher angles, but there is a limit. That is limit is not the integer limit, it is something much smaller.
 
Status
Not open for further replies.
Top