Skip to content
lsl.devlsl.devLSL Dev

llLinkStopSound

function
Function syntax
llLinkStopSound(
  1. integer link// Link number (1 for root, >1 for children) or a LINK_* flag. Values: Links
);
Energy
10

Stops the playback of any currently playing attached sound on the linked prim link.

Stops the attached sound(s) currently playing, if they were started by llLoopSound

How to use
llLinkStopSound(0);
  • There is no way to stop a specific sound.
  • In a linked set use llLinkStopSound to stop sound in a specific prim.
Example 1
default
{
state_entry()
{
llLoopSound("string soundname if in object inventory or UUID", 1.0);
}
touch_start(integer total_number)
{
llStopSound();//As if by magic the sound stops!!
}
}

The original wiki page documents these functions together with this one:

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.