Jump to content

Change Next Owner Perms via Script: Possible or Impossible?


Anairah Galicia
 Share

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

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

Recommended Posts

Hola!

I'm trying to find a way via script to change the permissions of an object and of its inventory items when rezzed by next owner.

I created a cube, set it to full permissions, and added the following script (also full perms) before sending it to my alt account:

default
{
    on_rez(integer start_param)
    {
        llSetObjectPermMask(MASK_OWNER, PERM_TRANSFER);
        llSetInventoryPermMask(llGetScriptName(), MASK_OWNER, PERM_TRANSFER);
        llOwnerSay("Check!");
    }
}

When rezzed by my alt, the permissions of the cube and its script didn't change to transfer-only, as I hoped. I read this require God Mode to work. Yet, I have a full perms item from another creator which becomes no-copy when rezzed. Does this happen because it wasn't rezzed by its creator after setting its permissions while in inventory? Or, did its creator employ a work-around I haven't found which allows for its permissions to change when rezzed by next owner?

Link to comment
Share on other sites

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