Jump to content

Llplaysound

From OSgrid Wiki
Revision as of 23:08, 31 December 2017 by Osgridadmin (talk | contribs) (Created page with "==Function: '''llPlaySound( string sound, float volume );'''== Plays attached sound once at volume <br> • string sound – a sound in the prim's inventory or UUID <br>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.