So, i've been trying to use the Line of Sight behaviour and it doesn't seem to work the way i think it should be working.
Specifically, i have a grid based game and i want some cameras to detect a player only in the four cardinal directions, up, down, left, right. I thought that if i use code like "camera.x equals player.x" and pair it with LOS code like "if player is in line of sight of camera" then the camera should detect the player if the player is not behind a solid and only if the player is directly above, below or to the sides of the camera.
However, if i use code like this, it works fine if the player is to the right and below the camera, but not if the player is above or to the left of the camera. I've checked the "line of sight angle range" and made sure it was at 360 but it doesn't work.
Help?