Difference between revisions of "LlSetSoundQueueing"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 9: Line 9:
|spec
|spec
|caveats
|caveats
It appears that only two sounds can be queued at a time.
|constants
|constants
|examples
|examples
<lsl>
default
{
    state_entry()
    {       
        llPreloadSound("SondName as a string if sound is in prim inventory or UUID of sound");\\This loads the sounds into all in range viewers and cuts delay between sounds.
        llPreloadSound("As above");       
    }
    touch_start(integer total_number)
    {
        llSetSoundQueueing(TRUE);\\Set to TRUE for queueing one sound plays after the first has ended. Set to FALSE both sounds will try to play at the same time and both will fail.
        llPlaySound("As above", 1.0);
        llPlaySound("As above", 1.0);
    }
}
</lsl>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llLoopSound]]}}
|also_functions={{LSL DefineRow||[[llLoopSound]]}}

Revision as of 17:17, 14 May 2009