Jump to content

Llplaysound

From OSgrid Wiki

Function: llPlaySound( string sound, float volume );

Plays attached sound once at volume
• string sound – a sound in the prim's inventory or UUID
• float volume – between 0.0 (silent) and 1.0 (loud) (0.0 <= volume <= 1.0)

Examples

default
 {
     state_entry()
     {
          llPlaySound("some_sound",1.0);
     }
 }

See Also
Functions
• llTriggerSound – Plays a sound unattached.
• llTriggerSoundLimited
• llLoopSound
• llLoopSoundSlave – Plays a sound attached.