Jump to content

Keyboard Animation


Guest
 Share

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

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

Recommended Posts

Have a custome keyboard animation you want to use? But you really don't want change the deafult one in setting well here is a little helper. This script is simple use to help those who have cool animation and want to use it when they start  typing something. Example keypad on your cool " Wristcomp ".

 

Simply add the script and your animtion and watch it go!

 

Script:

Make sure to add your animation UUID or name.

 

string Anim = "EXAMPLE"; // The Animation you want to use when you type!
// You can use UUID or animation name.. If you choice do name make sure the animation in the object with same name.

list anims = []; // Script of Animation they user has if any..
default
{
    state_entry()
    {
        llSetTimerEvent(.2);
    }
    timer()
    {
        anims = llGetAnimationList(llGetOwner());
        if(llListFindList(anims,[(key)("c541c47f-e0c0-058b-ad1a-d6ae3a4584d9")]) != -1) // This is Second life UUID
        {
            llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION | PERMISSION_TAKE_CONTROLS | PERMISSION_ATTACH);
            llStartAnimation(Anim);
                   
        }
        if(llListFindList(anims,[(key)("c541c47f-e0c0-058b-ad1a-d6ae3a4584d9")]) == -1) // This is Second life UUID
        {
            llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION | PERMISSION_TAKE_CONTROLS | PERMISSION_ATTACH); 
             llStopAnimation(Anim); // Stops your typing Animation
        }
    }
}

 

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 months later...
You are about to reply to a thread that has been inactive for 4705 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...