Skip to content
lsl.devlsl.devLSL Dev

LlStopSound

Looking for the current API? Open the llLinkStopSound reference →

Overview

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

Function variants

llStopSound

llLinkStopSound

Caveats

  • There is no way to stop a specific sound.
  • In a linked set use llLinkStopSound to stop sound in a specific prim.

Examples

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!!
    }
}

See also: functions

Shared wiki helpers

The original page also injects shared parameter notes, caveats or issue information through these helpers. Their conditional MediaWiki logic is not reproduced here; inspect the preserved helper source for additional material.

Template:LSL Function/link-face

Original shared helper source (conditional wiki logic is not evaluated)
{{LSL Injection Test}}{{#if:{{{1|}}}|{{LSL Function/link|{{{1}}}|nogroup={{{nogroup|}}}}}}}{{#if:{{{2|}}}|{{LSL_Function/face|{{{2}}}}}}}{{#if:

{{#vardefine:also_functions|{{#var:also_functions}}
{{LSL DefineRow||[[llGetLinkNumberOfSides]]|Returns the number of faces of the linked prim.}}}}

}}
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.