I'm trying to use the line of sight behavior to alert a sprite when it is within a certain distance of another sprite. Unfortunately I cannot get it to work.
I am currently using "System-For Each" to cycle through every instance of an object. I am then checking to see if that object has line of sight to a family of other objects. If it does, both object are destroyed.
The Obstacles setting for the object with the line of sight behavior is set to "Custom", but I haven't seen a difference between that and selecting "Solids".
My project is at an impasse until I get this figured out, so any help would be greatly appreciated.