Hello - it has been awhile.
Is there some (easy) way to determine the orientation of a marker. The ultimate idea would be this:
- mission creator creates a marker on the map and names it;
- the name of the marker is passed to a script, which creates a trigger with the same dimensions as the marker;
- when activated, the trigger generates a list of all units within the marker/trigger.
I have searched, but haven't found anything quite what I need.
My situation would also be solved if there's a way to have a trigger display the exact boundaries like a marker does.
The only "solution" I've been able to work out is to take the marker dimensions, create temporary hidden markers on the corners (the marker would first be checked to make sure it is a rectangle), then work out the relative directions and distances of the corners to deduce an angle to use in the create trigger part.
There's an easier way, right?
Right?