Skip to content

llLinkPlaySound

function ll.LinkPlaySound(LinkNumber: number, Sound: string, Volume: number, Flags: number)

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.

Parameters
LinkNumber(number)
Link number (0: unlinked, 1: root prim, >1: child prims) or a LINK_* flag
Sound(string)
Volume(number)
Flags(number)

Add example usage here showing SLua/Luau syntax with ll.LinkPlaySound().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.