Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llLoopSound

LSL
void llLoopSound(string sound, float volume)

Plays specified Sound, looping indefinitely, at Volume (0.0 - 1.0).\ Only one sound may be attached to an object at a time.\ A second call to llLoopSound with the same key will not restart the sound, but the new volume will be used. This allows control over the volume of already playing sounds.\ Setting the volume to 0 is not the same as calling llStopSound; a sound with 0 volume will continue to loop.\ To restart the sound from the beginning, call llStopSound before calling llLoopSound again.

Parameters

TypeName
string sound
float volume
Energy 10

The Linden Scripting Library — what every SL-compatible grid provides.

More in LSL