Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Playing multiple sound files in sequence?

StoneyNcrazy Diabolito
Registered User
Join date: 20 May 2009
Posts: 12
12-06-2009 23:50
I want to play 3 sound files 1 after another when an object is clicked. I tried using the llSetSoundQueuing(integer queue) function. Come to find out that it only allows for 2 sound files to play back to back.

I also tried the llTriggerSound(string sound, float volume) function, but its playin all 3 sound files at the same time.

My question is, Is there a function or keyword that allows me to delay or pause program execution? That way I can place 1 inbetween each of the 3 sound files. Any help would be greatly appreciated. Thank you.

~StoneyNcrazy~
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-07-2009 00:21
llSleep or the timer event.... you can then re-call the queuing function once the next sound is playing IIRC
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
StoneyNcrazy Diabolito
Registered User
Join date: 20 May 2009
Posts: 12
12-07-2009 01:22
Thank you very much Void. Appreciate it, will go look it up. Peace. ;=O)