Simpler Walker Script

Thread Started By NaTaS

3240
1
  • 66 Vote(s) - 3.06 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rate Thread
#1
play sounds on avatar movement.

Quote:default
{
state_entry()
{
llSetTimerEvent(.3);
}

timer()
{
string anim = llGetAnimation(llGetOwner());
if ((anim == "Walking") || (anim == "Running") || (anim == "Turning Left") || (anim == "Turning Right") || (anim == "CrouchWalking"))
{
llLoopSound("a859eb3a-13d8-b378-bc58-440f0270eeb6",1);
}
else
{
llStopSound();
}
}
}

Forgot to mention, you just change the UUID code if you want a different sound effect.
Reply


#2
:ThumbsUp:
Reply




Forum Jump:

1 Guest(s)
Share this:

About Second Life Copybot

Second Life CopyBot Forum is a place where you can get items for Second Life and other vitual worlds for free. With our CopyBot viewers you can export and import any content from these virtual worlds and modify them in 3D software such as Blender, 3D studio Macx etc...