Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llPlaySound plays twice instead of once.

AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
09-23-2008 19:54
All my llPlaySound commands work as intended, but they repeat just ONCE anywhere from immediately to a minute later. Is this a bug? Any suggestions?

Problem is I can't reproduce it in a virgin block of plywood.

I tried disabling ALL timing functions but it still happens.

I added an llOwnerSay after the llPlaySound to see if it was getting executed again but it only gets executed once.

Is there something I'm doing that could cause a random echo?
AnnMarie Otoole
Addicted scripter
Join date: 6 Jan 2007
Posts: 162
09-23-2008 20:31
Never mind. It IS a bug. It happens with some clients when you use the llPreloadSound function. I worked around it by moving the llPreloadSound commands to an empty linked prim.

See https://jira.secondlife.com/browse/VWR-770

I could not reproduce it in a simple plywood block so there are obviously more complications in the issue than just using llPreloadSound.

(Putting it in a separate script in the same, root prim, did not work.)