Don't click here unless you want to be banned.

LSL Wiki : llStopSound

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl801.us.archive.org
llStopSound()

Stops the currently playing sound in a script started with these functions:
Actually stops playing sound in a prim, not in a script. Tested with 1.18.5 (3) - Kahiro Watanabe -

llPlaySound This does not work. llStopSound will not stop sound started with llPlaySound. at least not in v 1.16. Worx again since 1.17.1 -Altern8McMillan
llLoopSound
llPlaySoundSlave
llLoopSoundSlave
llLoopSoundMaster


It does NOT affect sounds started by collisions, llTriggerSound or llTriggerSoundLimited.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Sound
Comments [Hide comments/form]
It seems to me that this ONLY stops llLoopSound() sounds.

For playing back multiple 10-second clips, while still maintaining the ability to stop in the middle, I've found I need to use llSetSoundQueueing(1), and use llLoopSound() for each part. As long as the next one is queued in time it won't actually loop.
To end it, I do one last llPlaySound on a very short silent sound. You can use mine if you like...

0.1 seconds of silence, queued at end:
llPlaySound("a077e3aa-da2d-306a-87bd-f3c265d74b67",0.1);
silence! queued.
-- DavanCamus (2006-02-20 15:41:42)