|
Kaylan Draken
Registered User
Join date: 2 Dec 2006
Posts: 127
|
04-09-2007 04:48
Does anyone know if it is posible with a scipt (or something else) that the next owner of something i sell only can make 5 copies of it?
Thanks
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-09-2007 06:16
From: Kaylan Draken Does anyone know if it is posible with a scipt (or something else) that the next owner of something i sell only can make 5 copies of it?
Thanks Not directly. You can make it so that when the object is rezzed it contacts a server which would keep count of how often the owner has rezzed an item and then tell the script to delete the object when they have reached their limit. Another way would be to sell a rezzer which could only be used to rez x items before it deletes itself.
|
|
Kaylan Draken
Registered User
Join date: 2 Dec 2006
Posts: 127
|
04-09-2007 06:21
Thanks for the answer. i will look for a rezzer.
thanks again
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-09-2007 06:32
From: Kaylan Draken Thanks for the answer. i will look for a rezzer.
thanks again At its simplist something like this would work. integer count = 5; string object = "my object"; default { state_entry() { llSetText((string)count + " uses left",<1.,1.,1.>,1.); }
touch_start(integer num) { vector pos = llGetPos(); pos += < 0,0,1>; llRezObject(object, pos, <0,0,0>, <0,0,0,0>, 0); --count; if(count <= 0)llDie(); llSetText((string)count + " uses left",<1.,1.,1.>,1.); } }
|
|
Nefertiti Nefarious
Registered User
Join date: 5 Oct 2006
Posts: 135
|
04-09-2007 08:49
From: Kaylan Draken Does anyone know if it is posible with a scipt (or something else) that the next owner of something i sell only can make 5 copies of it?
Thanks The easiest way would be to sell them five of the items.
|
|
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
|
04-09-2007 09:52
I believe Zod made an open source script that does this - you load no copy objects into a box, it sells them and then when done shows a "Sold out" texture on a prim overlay.
_____________________
http://slurl.com/secondlife/Together
|