Template:LSL Constants/PlaySoundFlags
| 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 |
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.