How do I make it so a sound can only be played once?

Get help using Construct 2

Post » Sat May 23, 2015 12:50 pm

I have a collectible system in my game, and i want it so the sound for picking up the collectible only can be played once for that layout.
-K
B
8
S
1
Posts: 39
Reputation: 542

Post » Sat May 23, 2015 12:58 pm

simple , create global variable SoundPlayed , make it 0. When the sound played set the variable to 1. Also set the sound to play only when SoundPlayed is 0.
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Sat May 23, 2015 1:32 pm

Thanks, didn't think about doing it that way.
-K
B
8
S
1
Posts: 39
Reputation: 542


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests