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!
You should be doing "Greater than (Facing of unit) - 105" and "Less than (Facing of unit) + 105", though 105 (times 2, for each interval) is way too large of a range. Perhaps something around 40 would be more suitable (means 80 degrees of leniency).
I haven't tested that modulo thingy, but this should work also.
(Cos(((Temp_Real_1) - (Angle from Temp_Loc_1 to Temp_Loc_2)))) Less than (Cos(105.00))
If this is true, then the unit is inside the area, backstabbing.
Temp_Real_1 = Facing of the unit to be backstabbed
Temp_Loc_1 = Position of the unit whose facing you use
Temp_Loc_2 = Position of the backstabbing unit
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.