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