Page 1 of 1

Choosig sound channels

PostPosted: Wed Feb 20, 2008 4:31 pm
by jimmynewguy
How do you choose which channel a sound will play on? Because I have 2 sounds playing so I want one to end and the other to keep playing. Plz help :(

Re: Choosig sound channels

PostPosted: Wed Feb 20, 2008 5:12 pm
by Kalladdolf
in reality the channels are variables.
first create a variable named sound1
then when you want the music tp play:
Code: Select all
sound1 = //play sound;

and the second sound, create a var named sound2:
Code: Select all
sound2 = //play sound;


now, if you want the sound1 to stop:
Code: Select all
stopSound(sound1);

sound1 is the channel in this case which you tell to play and stop. got it?