Hey all.
First post in this forum although I am reading/learning a lot here for almost 2 years. Great place for resources
Anyway, I have a problem which I cant figure out how to make it work like I want. I will post here an example of what I am trying to achieve.
I have an elipse trigger of 500x500. The trigger is activated by opfor present, and activated repeatidly.
On activation it starts a script which I want to place a marker "dot" over all OPFOR units in that trigger area. This way I will be able to see all units inside the trigger area marked on the map with a "dot". The script is called
[thislist select 0] exec "mark.sqs"
Now the problem is, it wont set the "dot" marker over all OPFOR units inside the trigger, but only one until he left the trigger area. Only than it will mark another OPFOR unit.
I think by giving all OPFOR units a name and changing the scriptline to
[this] exec "mark.sqs"
will give me the wanted result...........but I dont want to have to name all units since there are a lot of units on the map ;D
Can anyone maybe tell me how I can make it so that all OPFOR units inside the trigger area are getting a "dot" marker on their position?
It should also be so that a unit which has the mark.sqs running over it should not run it again (otherwise one unit will activate the same script over and over again), inside the mark.sqs script its made so that it keeps marking the units position (i use a loop with a distance check) until he leaves the trigger area.
I hope I was clear enough in trying to explain my problem.
Thanks in advance for any help!