Line Of Sight doesn't like to see...

For questions about using Classic.

Post » Sun Jul 03, 2011 8:20 pm

In my engine, I've got the player_obj using platform behaviour, and then I've got the enemy_obj using platform as well, and LOS. Everything works fine, except for the LOS, it only seems to see the player when the player jumps into the air. Any ideas? It doesn't matter what I do with the obstacles within the LOS behaviour, it still only sees the player when they jump...
B
70
S
10
G
9
Posts: 300
Reputation: 8,962

Post » Sun Jul 03, 2011 8:40 pm

did you tried to make a condition "if player_obj is on ground" then run LOS events?
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,589
Reputation: 34,603

Post » Sun Jul 03, 2011 8:58 pm

SOLVED - it seems that having the angle range set to 360 wasn't good enough, the second I set it to 720 (don't ask why I thought to try this) it seemed to work properly
B
70
S
10
G
9
Posts: 300
Reputation: 8,962


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest