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
64
S
8
G
9
Posts: 290
Reputation: 8,590

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
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

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
64
S
8
G
9
Posts: 290
Reputation: 8,590


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests