OK I have an ability that is supposed to affects all units in front of my caster in a wide arc (say about 150 degrees) within 340 range.
But my maths on how to select these units for the ability is failing me... Right now I've got:
Unit group - Pick every unit in (Units within 340 of (Position of (Casting Unit)) matching ((Abs(((Angle from (Position of (Casting Unit)) to (Position of (Matching Unit))) - (Facing of (Casting Unit))))) Less than or equal to 150)) and do (Actions)
It looks to me like it should work, but its not
PS: How do you post your triggers? Because i think the entire trigger might be flawed...
But my maths on how to select these units for the ability is failing me... Right now I've got:
Unit group - Pick every unit in (Units within 340 of (Position of (Casting Unit)) matching ((Abs(((Angle from (Position of (Casting Unit)) to (Position of (Matching Unit))) - (Facing of (Casting Unit))))) Less than or equal to 150)) and do (Actions)
It looks to me like it should work, but its not
PS: How do you post your triggers? Because i think the entire trigger might be flawed...