Jump to content

Faucet sound into prim


Vera Gavilan
 Share

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

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

Recommended Posts

I have zero knowledge of scripting. With help from tutorials I managed to make running water for a faucet, touching on/off. Now I want to put a sound in it. The sound should play looped as long as the faucet is running.

How and where to put the UUID and the sound, please help :)

 

The water on/off script:

integer on = TRUE;

default
{
     touch_start(integer iNum)
     {
          if (!on) llMessageLinked(LINK_SET, 0, "on", NULL_KEY);
          else llMessageLinked(LINK_SET, 0, "off", NULL_KEY);
          on = !on;
     }
}

 

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4459 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...