Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sound loops with llPlaySound?

Sean Martin
Yesnomaybe.
Join date: 13 Sep 2005
Posts: 584
05-26-2006 15:58
*Posted in Technical Issues* (Not sure where this should go.)

I have a ship that won't shut up.

I thought it was "ghosted" scripts at first until I did a few quick rebuild test. Then tried using the llPlaySound and I get the same result at random times. Sometimes 5 minutes will go by.

So it loops but not right away. It seems the scripts are calling the last sound played at random. And usually will do so when something changes, such as when I open/close edit windows, sit on the object, etc.
And I have no change event anywhere in this test script.
And on the ship there is no llPlaySound in the change events on any script.

Just an On_Rez then llPlaySound after preloading.
And one set of sounds that are called to play when a llLinkMessage is sent.
At first I thought it was the llLinkMessage continuing to be called over and over. Then it happened witha sound that only should play On_Rez.

Is this just me or does anyone else have similar problems?
It's driving me nuts.
_____________________
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
05-26-2006 16:06
Remove all scripts from every primitive of your object. Put a script containing:
CODE

llStopSound ();

into every primitive of your object to stop the sounds from playing.