I have tried to deactivate the enemy's movement when the player is a certain vicinity the idea being that once the enemy has stopped it will throw a spear very x amount of seconds however the enemy doesn't stop when the player is in its line of sight (200) pixels). Any help would be very appreciated.
dropbox.com/scl/fo/si2pw5gh7fdzkcxw3n5qq/h
Your link is restricted
It should be open hopefully: dropbox.com/s/b1jvjbxn3k5abka/Game%20%283%29.c3p
It's because you have Solid obstacles and there is a tilemap covering the layout that is set to Solid, it interferes with the line of sight. You can change obstacles to 'Custom' on the line of sight behaviour
Is the ground tilemap obstructing the enemy's line of sight because the LOS angle is set to 360? Thanks
Oh I see what you mean by custom now. Never mind my deleted posts. Thank you for the help it's appreciated especially since I am new to Construct.
Develop games in your browser. Powerful, performant & highly capable.
Yes no problem. The angle is not a problem, 360 just means a circle around the enemy. The problem is the tilemap is being detected as an obstacle for line of sight.