I've got kind of a problem I can't find any solution to anywhere, so I'm asking you here.
There's this intro cutscene with a quite long wav file playing, 10 seconds long or so. If I choose to skip the intro during this time, the sound file will keep on playing even though the game skips to the EndCutscene(); part of the script. How to I stop all sounds / this sound when I choose to skip the intro?
It seems very unprofessional when it's like this...Ã, :-[
If you're playing the wav file as music, you could put
StopMusic();
after the EndCutscene command.
If you're playing it with PlaySound, put
PlaySound(-1);
there instead.
Edit:
Oh wait, music doesn't support wav files anyway. :P
So yes, my second suggestion is correct.
You're welcome. :)
Thanks! It's kinda weird I couldn't find any other people wondering about the same thing!