Is there any way to use stopSound on a sound effect (PlaySound2) without stopping other soud effects and background music. I have an elevator that operates on a switch, when the player is holding down the switch the sound repeats, when they remove the mouse from the button it should stop.
I've tried assigning the elevator sound to a channel...
elevator_sound_2 = PlaySound2("data/Mousetick1.wav", 1.000000, 99, 0.000000);
then on another event I have...
stopSound(elevator_sound_2);
this doesnt do anything.
I've tried playing the samples using PlayMusic2 as well, but when I use stopSound(elevator_sound_2) the background music also stops.
Is there some other way of turning on/off looped sound effects on events that I should be using instead? Is there only one channel that can be turned on/off?
Thanks in advance!