Skip to content

PlaySoundFlag

Constants in the PlaySoundFlag flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer SOUND_PLAY = 0x00;  // Sound playback option (default) that plays the sound once, attached to the priminteger SOUND_LOOP = 0x01;  // Sound playback option that loops the sound continuously on the prim until stoppedinteger SOUND_TRIGGER = 0x02;  // Sound playback option that triggers a non-attached sound once at the prim's current location (does not move with the prim)integer SOUND_SYNC = 0x04;  // Sound playback option that synchronizes playback to the nearest active sound master (see llLoopSoundMaster)

Constants

ConstantTypeValueDescription
SOUND_LOOPinteger0x01Sound playback option that loops the sound continuously on the prim until stopped.
SOUND_PLAYinteger0x00Sound playback option (default) that plays the sound once, attached to the prim.
SOUND_SYNCinteger0x04Sound playback option that synchronizes playback to the nearest active sound master (see llLoopSoundMaster).
SOUND_TRIGGERinteger0x02Sound playback option that triggers a non-attached sound once at the prim's current location (does not move with the prim). This flag overrides all other sound playback options.

Used by