How do I compare play sound with globalnumber

Get help using Construct 2

Post » Wed Jun 24, 2015 7:02 pm

can i compare play sound with global number???
example:
Global number name = "Move"
Global number move = 0
if
move = 1 play sound Awesome not looping at volume 0 db (tag""))
move = 2 play sound Cute not looping at volume 0 db (tag""))

any suggestion to me?? its error with my logic..
sorry for bad english
B
3
Posts: 8
Reputation: 196

Post » Wed Jun 24, 2015 8:18 pm

Yes you can do that
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Wed Jun 24, 2015 8:52 pm

in my case play sound make error. like move1 = 0 its play "cute" sound, not the "awesome" sound. any solution??
B
3
Posts: 8
Reputation: 196

Post » Wed Jun 24, 2015 11:12 pm

I don't really understand what's going on in your code.

Could you upload your .capx file or a print of your code so we can take a better look at it??
B
17
S
7
Posts: 277
Reputation: 2,514


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests