Jump to content

Rez box + touch to attach + unwear = box goes to Library :(


Beowulf Zessinthal
 Share

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

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

Recommended Posts

 

this has been going on for a while now, and is stiil not fixed... Is it only happening to me?!

Rez a box, add the script below which will attach the box to you upon touch..  it appears in your Objects folder.

BUT .. when you UNWEAR the box, it glitches/jumps into my Library folder .. that aint right!

key owner;

default
{
    state_entry(){
    owner= llGetOwner();
    llOwnerSay("Click to attach .. then unwear ..");
    }

    touch_start(integer total_number){
        if(llDetectedKey(0) == owner){
        llRequestPermissions(owner,PERMISSION_TRIGGER_ANIMATION | PERMISSION_ATTACH);
        }
    }

    run_time_permissions(integer perm){ 
        if(perm & PERMISSION_ATTACH){
        llAttachToAvatar(ATTACH_AVATAR_CENTER);  
        }
    }
}

 

Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...