wait for playsound
Posted: Sat Feb 23, 2008 3:02 am
Is there a way to wait until playsound is done before loopsound is called?
I figure I can always put playsound in another thread and do this ......
Just curious if there is a better way 
Code: Select all
fan_start_sound:
$fancone playsound snd_fan_start
$fancone loopsound snd_fan_loop
endCode: Select all
fan_start_sound:
waitthread fan_start // thread that plays the snd_fan_start
$fancone loopsound snd_fan_loop
end