Jump to content

Posing with a prop


Jerilynn Lemon
 Share

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

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

Recommended Posts

Assuming you mean have a prop "call" a pose (so a wearable stool for instance) you can put this script in the item and then wear it.  You will need to adjust the prop once you ADD it to your avatar.  Things you sit are are going to be tricky and will need to be adjusted using HOVER HEIGHT by the wearer.  Other things (like a flower you hold) would be much simpler. 

 

If you want to REZ the chair and then have the pose in there you would use a program like AVsitter. 

 

******************************************

 

//Emmas Seetan
 
string animationToBePlayed = "snow fight kneel making";
integer flag;
 
default
{
    on_rez(integer start_param)
    {
        llResetScript();
    }
 
    attach(key id)
    {
    //  when being detached
        if(id == NULL_KEY)
        {
            integer currentPerms = llGetPermissions();
 
            if (currentPerms & PERMISSION_TRIGGER_ANIMATION)
                llStopAnimation(animationToBePlayed);
        }
    }
 
    changed(integer change)
    {
        if (change & (CHANGED_OWNER | CHANGED_INVENTORY))
        {
        //  stop animation for old owner
            integer currentPerms = llGetPermissions();
 
            if (currentPerms & PERMISSION_TRIGGER_ANIMATION)
                llStopAnimation(animationToBePlayed);
 
        //  reset script to get new owner
            llResetScript();
        }
    }
 
    state_entry()
    {
        key owner = llGetOwner();
        llRequestPermissions(owner, PERMISSION_TRIGGER_ANIMATION);
    }
 
    run_time_permissions(integer perm)
    {
        if(perm & PERMISSION_TRIGGER_ANIMATION)
        {
            llStartAnimation(animationToBePlayed);
 
            llSetTimerEvent(15.0);
        }
    }
 
    timer()
    {
        if(flag & 1)
            llStartAnimation(animationToBePlayed);
 
        flag = (flag + 1) % 4;
    }
}

Link to comment
Share on other sites

If you just want to have a prop with the pose, you just need to use edit to adjust the location of the prop into the right spot for the picture. A stool for example you would set the pose, then move the stool into place, you probably will need to adjust your height somewhat with the slider.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1953 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...