N
NoFontNL
Guest
Is there a way to change the properties of a sound while it is playing?
I have 2 sounds: snLoop; snEnd.
I want to play the snLoop sound in a loop, so
music0 = audio_play_sound(snLoop,1,true);
But when a condition is true, I want to stop the music0 when ended, so set the loop property to false, and when it ends play snEnd.
Is there any way to accomplish above?
Thanks in advance.
I have 2 sounds: snLoop; snEnd.
I want to play the snLoop sound in a loop, so
music0 = audio_play_sound(snLoop,1,true);
But when a condition is true, I want to stop the music0 when ended, so set the loop property to false, and when it ends play snEnd.
Is there any way to accomplish above?
Thanks in advance.