llStopSound
function
Function syntax
llStopSound();- Energy
- 10
Stops the attached sound(s) currently playing, if they were started by llLoopSound
llStopSound();Caveats
Section titled “Caveats”- There is no way to stop a specific sound.
- In a linked set use
llLinkStopSoundto stop sound in a specific prim.
Examples
Section titled “Examples”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!! }}Related functions
Section titled “Related functions”The original wiki page documents these functions together with this one:
See also
Section titled “See also”Functions
Section titled “Functions”- llSound — 3=This function has been deprecated, please use
llPlaySoundinstead. llPlaySoundllPlaySoundSlavellLoopSoundllLoopSoundMasterllLoopSoundSlave
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.