Template:LSL Constants/PlaySoundFlags

From Second Life Wiki
Jump to navigation Jump to search
Constant Value Description LSL Function
SOUND_PLAY 0x00 This is the default behavior. Plays the sound once, attached to the linked primitive. llPlaySound
SOUND_LOOP 0x01 Loops the sound attached to the linked primitive. llLoopSound
SOUND_TRIGGER 0x02 Triggers the sound at the location of the linked prim. The sound is not attached and does not move with the prim.

If this flag is set it overrides all others.

llTriggerSound
SOUND_SYNC 0x04 Synchronizes sound playback to the nearest sound master. Please see llLoopSoundMaster.

llLoopSoundSlave, llPlaySoundSlave