Play sound upon hitting a variable instead of while

Get help using Construct 2

Post » Fri May 20, 2016 5:08 am

I'm having a problem, I want to set a sound to play at my game when combo multiplier hit X, but the way I made the combo multiplier system, its like the game will play the sound forever when the variable is above X, and not only one time.

I want to make it play once, like a trigger. And then stopping. Not mattering if the X value remains the same or even goes higher.

What can I do?
B
14
S
3
Posts: 40
Reputation: 925

Post » Fri May 20, 2016 5:34 am

There a system action for "Trigger Once". It will cause your current event to run once while all of the other conditions are met.
B
103
S
38
G
19
Posts: 962
Reputation: 17,996

Post » Fri May 20, 2016 5:47 am

C-7 wrote:There a system action for "Trigger Once". It will cause your current event to run once while all of the other conditions are met.


Worked like a charm, thank you! :)
B
14
S
3
Posts: 40
Reputation: 925


Return to How do I....?

Who is online

Users browsing this forum: Congrats2u, Darknessed, dop2000, Magistross, worm1 and 24 guests