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

[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