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

[JASS] Need a proper condition

Status
Not open for further replies.
Level 6
Joined
Mar 26, 2008
Messages
239
I need a proper condition which checks difference between facing angle of a unit and fixed angle.
I tried some ways to do that, but it worked only when the enemy's position was upper than casters (fixed angle is angle of moving the caster when caster moves to the enemy, that's why it depends on enemy's position), but when the caster's position was upper then the trigger didnt work.
Need smth. like Difference between facings <= 20.
 
Status
Not open for further replies.
Top