The concept of the commands aren't useless, they are just implemented in a way that makes them useless for anything beyond checking things in your immediate (sub 250m) surroundings. Checking for LOS across a distance of many kilometers causes the entire game to lock up for many seconds because you have to get EVERY object in a diameter the length of the check! 99% of the objects passed to the function are going to not even be close to the LOS beam, but there is no good way to get just those objects. I assume the function is also doing some sort of check against these unneeded objects as well.
The commands just seem very, very inefficient.
Both lineIntersects and lineIntersectsWith do not require a list of objects to work. If you test then you will find they only require begPos and endPos to function.
ARMA 2: OA beta build 93296 (1.60 MP compatible build, post 1.60 release)
in ARMA 2 & OA - BETA PATCH TESTING
Posted · Edited by Kenquinn
Both lineIntersects and lineIntersectsWith do not require a list of objects to work. If you test then you will find they only require begPos and endPos to function.