Jump to content
Sign in to follow this  
Aasha Kohime

Playing Animations via UUIDs

Recommended Posts

At this point I'm considering pulling one of you to the side and having you put the server object together for me if you're willing. My partner working on it is pretty busy with life and ever since the demo has gone down the activity around the game has dropped.

Share this post


Link to post
Share on other sites

put a advert in the Help Wanted forum on here. Is quite a few commercial pro scripters on here who will do what you want to a high standard

just make sure that is a work for hire and that you are buying the IP to the scripts as well

Share this post


Link to post
Share on other sites

My friend doesn't know how to script in releaseing permissions so that the thing stops animating if you're not  the one  to be animated.

Otherwise it seems to be going smoothly again.

Share this post


Link to post
Share on other sites

without seeing a script then dunno what your friends issue is but generally can release perms when avatar is sitting or attach

cant release if avatar is not sit or attach. (is a bit of a bughole this)

example test

 

releasePerms(key id){    integer perms = llGetPermissions();    if (perms & PERMISSION_TRIGGER_ANIMATION)    {        list a = llGetAnimationList(id);        integer c = llGetListLength(a);        integer i;        for (i = 0; i < c; i++)            llStopAnimation(llList2String(a, i));    }    // include any other stuff that needs to be stopped here    // ... examples    /*        if (perms & PERMISSION_TAKE_CONTROLS)            llReleaseControls();        if (perms & PERMISSION_CONTROL_CAMERA)            llClearCameraParams();     */       llRequestPermissions(id, 0);}default{    state_entry()    {        integer perms =             PERMISSION_TRIGGER_ANIMATION            /*              | PERMISSION_TAKE_CONTROLS              | PERMISSION_CONTROL_CAMERA            */            ;       llRequestPermissions(llGetOwner(), perms);    }       touch_start(integer num_detected)    {        key id = llDetectedKey(0);         if (id == llGetOwner())        {            releasePerms(id);                        // test : will gen a perms warning error            //        when avatar is sitting or attach            // perms are not released when avatar is            // not sitting or attached. is a bughole this            llStartAnimation("dance1");          }        }    run_time_permissions(integer perms)    {        // should be the same        llOwnerSay((string)perms + " : " + (string)llGetPermissions());                if (perms & PERMISSION_TRIGGER_ANIMATION)            llStartAnimation("dance1");     }}

 

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...