Skip to content

llLinkPlaySound

Function Syntax
void llLinkPlaySound(
  1. integer LinkNumber, // Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
  2. string Sound,
  3. float Volume,
  4. integer Flags
);

Plays Sound, once or looping, at Volume (0.0 - 1.0). The sound may be attached to the link or triggered at its location.

Only one sound may be attached to an object at a time, and attaching a new sound or calling llStopSound will stop the previously attached sound.