ok i want to make a mission where there are tons of flags and i was wondering if there was a way to detect if an east or west player was within a certain distance from any of the flags.
I know how to accomplish this with lots of triggers (ie. 2 for each flag one detecting east the other west), but wouldnt it be better to do this from a script? i was just wondering, otherwise i will use the trigger method.
btw i have 35 flags so that means 70 triggers just for the flags, is that not to many?
also i dont think that using unit names will do the job either cos if i have 10 units on each side that will take 20 lines of script for each flag min. Except if i create an array of the units on each side and write something like WestArray distance flag1 < 5, but it would have to be if 1 unit of the array is within the distance rather than ALL! lol.
Thx