llLoopSound(string sound, float volume)
is a UUID
of a sound file, or the name of a sound file if the sound file is in task's inventory
is a float
between 0 and 1 which defines the volume
to play the sound at. If volume
is > 1, it is set to 1.
can be stopped using llStopSound()
. The volume of sounds started with llLoopSound
can be adjusted using llAdjustSoundVolume
//By James Benedek
//loop sound state on and off
llLoopSound("",1);//Put the sound file's name thats inside the object or the UUID in between the ""
llStopSound();//this will stop the loop sound
Compare with llLoopSoundSlave
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.