Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sell a prim-next owner can modify contents, not the script

Starman Ihnen
Registered User
Join date: 28 Jan 2008
Posts: 1
01-31-2008 21:14
Hi all,
I'm new to SL, but I'm no stranger to CGI; I've been doing it for 20 years or so. I'm working on a prim that's almost perfect. I want to be able to sell an item so that the next owner can modify the prim in such a way that they can change the contents of the prim, but not see/modify the script.

For example, the script has a bunch of mojo I don't want anyone to see. Part of the script says "get the first object of type texture" and does something with it. I want the next owner to be able to delete the texture in the prim, and replace it with their own.

I tried this, and the prim doesn't allow the next owner to change the contents. So, unless I'm missing something, this is an all-or-nothing situation. If I set the object's permissions to "Modify", they can modify the contents, but also see the script. Any ideas on how to solve this problem? Thanks.

EDIT: I figured it out. I found that the permissions for the script stick when you set the prim to modifiable. It all works now.

*
Bree Giffen
♥♣♦♠ Furrtune Hunter ♠♦♣♥
Join date: 22 Jun 2006
Posts: 2,715
01-31-2008 21:34
You can set the script to 'no mod' while still having the prim it resides in as 'mod'. While in the customer's inventory it will show as 'no mod' but when they rez it on the ground it will show as 'mod' and they can modify the prim. They will still see the script sitting inside the contents but cannot right click and view the scripting. You probably want to include a note to explain it to the customer.

You might want to also create an alt account and give your product to him/her. You can see exactly what a customer will see in terms of permissions with that alt account.