Jump to content

Stir sounds


AlexandreLois1
 Share

You are about to reply to a thread that has been inactive for 3193 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Stir sounds

I 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.lsl

integer 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

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

You are about to reply to a thread that has been inactive for 3193 days.

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
 Share

×
×
  • Create New...