junicobakura
Member
- Reaction score
- 3
how do you pick units whos facing the caster or position of the caster?
set angle1 = angle between position of Picked unit and position of Casting unit + 360.
set angle2 = Picked unit's Facing Angle + 360.
if angle1 + 10. > angle2 and angle1 - 10. < angle2 then
--UNIT IS FACING THE CASTER--
ignore the leaks