tag:blogger.com,1999:blog-5780662684766869666.post515668054575167458..comments2023-10-14T04:23:13.547-04:00Comments on Chey's Second Life Blog: That Horrible Stumping SoundCheyenne Palisadeshttp://www.blogger.com/profile/17857731023321638792noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5780662684766869666.post-25030447963812674932013-03-07T18:59:02.245-05:002013-03-07T18:59:02.245-05:00A bit of a misunderstanding, I think - sorry, I di...A bit of a misunderstanding, I think - sorry, I didn't explain it very well.<br /><br />The llSetMemoryLimit(2000) call is simply to reduce the amount of memory the script uses, and hence its impact on sim performance. That might be a consideration if there are lot of objects with the script in.Handy Lowhttp://www.handylow.com/noreply@blogger.comtag:blogger.com,1999:blog-5780662684766869666.post-61866100737251525652013-03-07T14:30:28.086-05:002013-03-07T14:30:28.086-05:00Thanks for the notice.
Usually when I stop a coll...Thanks for the notice.<br /><br />Usually when I stop a collision sound I don't ever want it to come back.<br /><br />I played around with turning collision back on. The number 0.1 should be changed to 1.0 and the uuid of a collision sound has to go between the quotation marks. Interestingly, changing the volume to 0.0 also suppresses collision particles.Cheyenne Palisadeshttps://www.blogger.com/profile/17857731023321638792noreply@blogger.comtag:blogger.com,1999:blog-5780662684766869666.post-86310999227374146532013-03-07T06:19:23.122-05:002013-03-07T06:19:23.122-05:00Unfortunately, you can't delete the script whe...Unfortunately, you can't delete the script when it's done, otherwise the collision sounds return.<br /><br />So it might be a good idea to limit the memory on the script, especially if you have a lot of them. Something like this:<br /><br />default {<br /> state_entry() {<br /> llSetMemoryLimit(2000);<br /> llCollisionSound("", 0.1);<br /> }<br />}Handy Lowhttp://www.handylow.com/noreply@blogger.com