by skydereign » Mon Jun 20, 2011 7:39 am
Simply put, stopSound stops a sound in a given channel. When you use PlaySound2 it returns an int (which is the channel the sound is being played on). Now if you use stopSound and pass it that channel it will stop the sound. If you pass it 0, it will stop everything except the music. That is pretty much all there is to it. One thing to watch out for is if the sound in the channel ends, and you try to stop it, it could very well stop a different sound.