Jump to content

Trigger couples animation when touching worn attachment

Recommended Posts

i have no way to test this, but it would be something like this?....

you will need to mebbe enable a listen or some way to end the anim,.

.or you may need poseballs...and substitute the "sit" for your anim

no idea :P

p.s. if there is more than one anim, you need to choose which avatar does which?

default{    state_entry()    {    }       touch_start(integer num_detected)    {        key id = llDetectedKey(0);        if( id != llGetOwner() )        {  llRequestPermissions(id, PERMISSION_TRIGGER_ANIMATION);           llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION);        }    }     run_time_permissions(integer perm)                                      {        if (perm & PERMISSION_TRIGGER_ANIMATION)        {    llStartAnimation("sit");                                 }    }    }


Link to post
Share on other sites

As long as it only matters that the anims are synchronized, it's possible, but if you want them to also be spatially aligned, there's no choice but to seat the avatars. Even if they're both wearing attachments so their positions can be managed, it's impossible to control their rotations unless they're sitting on an object.

I'm sure there are sync'd anim scripts around somewhere, but I have a hunch you want that spatial alignment, too, because you want to play two different animations on the two avatars.

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.

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.

  • Create New...