Yeah, but it only has a limited use since it still doesn't check if there's an obstacle between the selected objects or not.
The quickest method I found was to create one detector per bad guy and fire them simultaneously, using a percentage as their step (so after, say, 100 loops, they've all hit their target).
So you get about 100 fast loops and the rest is done with object selection. I did a LOS test using various techniques and got the following results on my PC:
You can try it out yourself (see attached).
Fastloop + Object Looping: 217 - 240fps
Fastloop + VectorialShape: 15 - 70fps
Fastloop + MoveSafely 2: 47 - 86fps