choose random sounds.

Get help using Construct 2

Post » Fri Feb 08, 2013 12:25 pm

On an event im having the action:

Play by name ---> choose("sound1","sound2")

It was my impression that this should play either sound1 or sound2. But instead it either plays sound2 or both sound1 and sound2 simultaneously.

Why is that?
B
9
S
4
G
1
Posts: 104
Reputation: 2,278

Post » Fri Feb 08, 2013 3:38 pm

Hi those events are correct, they should work, but without see the rest of the events is hard to know what's's wrongcesisco2013-02-08 15:39:23
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Fri Feb 08, 2013 8:17 pm

Yup. We'd need to see a capx to know for sure what's going on. Just tired the exact event you described and it worked at intended.
B
27
S
8
G
3
Posts: 210
Reputation: 6,038

Post » Fri Feb 08, 2013 9:54 pm

Thanks for telling me the code was right... Made me search and find I had another event playing the same sound, confusing things.

B
9
S
4
G
1
Posts: 104
Reputation: 2,278


Return to How do I....?

Who is online

Users browsing this forum: ahmetkahveci, Google [Bot] and 45 guests