Plays attached sound once at volume

Syntax

void llPlaySound( string sound, float volume );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

string sound
a sound in the inventory of the prim this script is in or a UUID of a sound
float volume
between 0.0 (silent) and 1.0 (loud) (0.0 <= volume <= 1.0)

Caveats

Examples

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

See also

Functions

Articles

Deep notes

Issues