Play On Sit

Expired

default
{
    state_entry()
    {
    }
 
    touch_start(integer total_number)
    {
        llTriggerSound("lovesong1",1.0);
        llSleep(9.90);
        llTriggerSound("lovesong2",1.0);
        llSleep(9.90);
        llTriggerSound("lovesong3",1.0);
 
    }
}

 

Walking Sound

Expired

default
{
    state_entry()
    {
        llStopSound();
        llSetTimerEvent(0.001);
    }
 
    timer()
    {
        if (llGetAgentInfo(llGetOwner()) & AGENT_WALKING)
        {
            state walking;
        }
    }
}
state walking
{
    state_entry()
    {
        llLoopSound(llGetInventoryName(INVENTORY_SOUND,0),3);
    }
    timer()
    {
        if (!(llGetAgentInfo(llGetOwner()) & AGENT_WALKING))
        {
            state default;
        }
    }
}

 

Squeeky Toy

Expired

default
{
    state_entry()
    {
       llSetText("Touch the squeekytoy!", <1 ,1,1>, 1.5);
    }
 
    touch_start(integer total_number)
    {
        llSay(0, "You touched it \o/!");
        llPlaySound("360bcb15-fc53-1e63-90c5-240df8fd2b19",1);
    }
}

 

Rezzing Sound

Expired

default
{
    state_entry()
    {
 
    }
    on_rez (integer p)
    {
        llSleep (0.5);
        llPlaySound ("e6a0e38c-dc24-a37c-aa42-dd11c891946a",1);
        llSleep (8);
    }
}