How to make a line of sigth event only happen once?

Get help using Construct 2

Post » Wed Sep 16, 2015 9:34 am

I have made it so a sprite spawns another sprite when the player comes in it's line of sigth. The problem is that it spawns the sprite thousands of times infinitly when the player is in it's line of sigth instead of just once like it should. How can i make the Line of sigth spawning only happen once?
B
12
S
2
Posts: 267
Reputation: 1,344

Post » Wed Sep 16, 2015 11:02 am

I guess using a system trigger once while true event doesn't work?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 16, 2015 11:17 am

You could try something like this:

Image
B
15
S
6
Posts: 105
Reputation: 1,356

Post » Wed Sep 16, 2015 2:05 pm

phimaka wrote:You could try something like this:

Image


Thanks, it,s solved now.
B
12
S
2
Posts: 267
Reputation: 1,344


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 35 guests