llSound
Deprecated
void llSound(string Sound, float Volume, integer Queue, integer Loop)Deprecated: Use llPlaySound instead.
Plays Sound at Volume and specifies whether the sound should loop and/or be enqueued.
Parameters
-
Sound(string) -
Volume(float) -
Queue(integer) -
Loop(integer)
default{ state_entry() { llSound("sound", 1.0, TRUE, FALSE); //Plays the sound once. }}- Deprecated: This function is deprecated. Use
llPlaySoundinstead. - The
queueparameter controls whether the sound is queued (TRUE) or interrupts the currently playing sound (FALSE). - The
loopparameter controls whether the sound plays once (FALSE) or loops continuously (TRUE). - The volume ranges from 0.0 to 1.0, where 1.0 is full volume.