Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Why doesn't llStopSound work in my script?

Mad Wombat
Six Stringz Owner
Join date: 21 Jan 2006
Posts: 373
04-22-2006 18:57
Does anyone has an explanation why this function doesn't work?
CODE

listen(integer channel, string name, key id, string message)
{
if (message == "foo")
{
llStopSound();
llPlaySound("some UUID No.", 1);
}
}


So when I typed in foo, it plays the sound but saying foo again doesn't stop the sound.
SteveR Whiplash
teh Monkeh
Join date: 24 Sep 2004
Posts: 173
04-22-2006 20:18
I don't think llStopSound actually works with llPlaySound despite what the wiki says. It works perfectly fine with llLoopSound, however.
_____________________