Thanks for this MrMedic. I'm currently writing/editing my vehicle locator script to get better performance. I have two questions, i think it's easier if someone here can answer me, then trying it out myself later, i can't test it now, because i'm at work.
1.) _vehicles = vehicles
Which vehicles does the array "_vehicles" will contain? Only driveable cars/helis/boats on a server? Or also some non-drivable cars? Or does it contain nothing and you need to use it like this: "_vehicles = vehicles car;" so it only contains "cars"? Found only one example and can't answer my question with it.
2.) _players = playableUnits
Is this the right way to get all players on a server? Or can i do something like this "_vehicles = vehicles player;"?
//I found this: _selectedUnits = groupSelectedUnits player; - this should work better i guess, as it not implements AI.
Thanks in advance, i let you know when i'm testing this, if no one answers.
//I don't mean that it's easier if someone give me the answer straight away, i love to check out the scripting command-pages and learn by myself, but these are things which are easier for me if someone knows an answer for it.. so i don't have to run the script 10 times to get my answers, if you know what i mean.