Line of Sight Issues

Get help using Construct 2

Post » Thu Aug 29, 2013 3:01 am

I'm trying to add some basic line of sight functionality to enemies in my game. The idea is that if enemies have LoS and are in range of the player, they'll start attacking.

When both LoS and Range are true, they trigger another variable called "Alerted". The problem is that when Alerted is true, the player should be able to make Alerted go false by breaking one of the triggers (Either range or LoS). When the player goes behind a wall or far enough away, Alerted doesn't become false. Am I using LoS wrong in some way?
Posts: 1
Reputation: 127

Post » Thu Aug 29, 2013 6:02 am

Well, it sounds like the problem is how you have set up your events but without a .capx or a screenshot of your events it's hard to tell. :-)
Posts: 19
Reputation: 3,828

Return to How do I....?

Who is online

Users browsing this forum: Kennedy12345 and 7 guests