HI all,
A couple of quick and easy questions that are driving me crazy.
First, I'm having inexplicable problems with the side function in a "killed" event handler, in that it claims everyone's side is "CIV". I have no problem installing the handler, and I can see who was killed and who was the killer (print their names, groups etc.), it's just the side function that is causing problems. The AI loons being killed are set to "Never Fire" and "Careless" if that helps.
Second, what is the best way to get a list of all players on a given side? Currently I use a trigger with a 10,000m radius, set to trigger once when WEST (say) is present. The trigger launches a script and passes in thisList which I then store in a global variable. But is there anyway to get a list of all units on a side directly at any point during the mission? What I am looking for is something like:
_allUnits = units side west
But, obviously the above doesn't work..
Finally, were does the textLog function sends it's output? It looks like it would be handy for debugging!
Any and all help is greatly appreciated.
Cheers,