AttachAnim

Thread Started By YoungMoney

2824
0
  • 56 Vote(s) - 3.23 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rate Thread
#1
PHP Code:
string    ANIM_DEFAULT "wheelchairsit4"// <--- this is where you put the name of your animation
// don't forget to put the animation in the camera inventory, together with this script

default {
    
attach(key id) {
        if (
id == NULL_KEY) { // detach
            
if (llGetPermissions() & PERMISSION_TRIGGER_ANIMATIONllStopAnimation(ANIM_DEFAULT);
        } else { 
// attach
            
llRequestPermissions(idPERMISSION_TRIGGER_ANIMATION);
        }
    }
    
    
run_time_permissions(integer perm) {
        if (
perm PERMISSION_TRIGGER_ANIMATION) {
            
llStartAnimation(ANIM_DEFAULT);
        }
    }

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