AlexandreLois1 Posted August 13, 2015 Share Posted August 13, 2015 Stir soundsI have an object - a steam pump. It produces sounds. My neighbor, the sounds interfere and she asked them to remove. Pumps with animation. I opened the folder and removed the pump all the sounds. However, the sounds heard. There's still a script animation. Here he is. How to remove the sound? // Script Name: Sculpt_Animator.lslinteger nItems=0;integer currentItem = 0;default{state_entry(){llSetTimerEvent(.01);nItems =llGetInventoryNumber(INVENTORY_TEXTURE);}timer(){string name = llGetInventoryName(INVENTORY_TEXTURE,currentItem);if (++currentItem >= nItems)currentItem = 0;llSetPrimitiveParams([PRIM_TYPE,PRIM_TYPE_SCULPT,name,PRIM_SCULPT_TYPE_PLANE]);}changed(integer type){if (type & CHANGED_INVENTORY)llResetScript();}} Link to comment Share on other sites More sharing options...
Rolig Loon Posted August 13, 2015 Share Posted August 13, 2015 default{ state_entry() { llStopSound(); }} That should take care of the problem. If you like the sound, however, and you just want to stop annoying your neighbor, the better solution is to open World >>> About Land >>> Options >>> Sound and check the box that says Restrict gesture and object sounds to this parcel: Check to disable gesture and object sounds playing on this parcel from being heard outside this parcel. When you do that, your neighbor should not be able to hear your pump sounds. Link to comment Share on other sites More sharing options...
AlexandreLois1 Posted August 13, 2015 Author Share Posted August 13, 2015 Many thanks. Everything worked out. Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now