Jump to content
  • 0
Sign in to follow this  
One Niki

How to make a sale for one time use in SL?

Question

  • 0

Its possible to make but whether or not it would be a popular item to buy is another matter lol

You can check the script library for die scripts http://community.secondlife.com/t5/LSL-Scripting-Library/bd-p/LSLScriptingLibrary

Or ask on the scripting forum for advice on how to write what you want http://community.secondlife.com/t5/LSL-Scripting/bd-p/LSLScripting

 

Share this post


Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Its possible to make but whether or not it would be a popular item to buy is another matter lol

You can check the script library for die scripts http://community.secondlife.com/t5/LSL-Scripting-Library/bd-p/LSLScriptingLibrary

Or ask on the scripting forum for advice on how to write what you want http://community.secondlife.com/t5/LSL-Scripting/bd-p/LSLScripting

 

Share this post


Link to post
Share on other sites
  • 0

The easiest way doesn't involve a script at all.  Make your object temp on rez by checking the Temporary box in Edit.  It will automatically vanish about a minute after it is rezzed. Remember to make the object no mod/ no copy to prevent the new owner from unchecking the box.  :smileywink:

Share this post


Link to post
Share on other sites
  • 0

OMG I can imagine the complaints already.....I bought this item and rezzed it and before I could even see it it had vanished, where is it??? :D

 

Think I`ll take off from SLA when that one hits the market hehe

Share this post


Link to post
Share on other sites
  • 0

Can you be more specific, I looked at you sent me, but I did not find anything that fits me.

I am interested in selling for one time use product.

I finished making it, including a timer clock, the time is completed, the facility is gone, but now what would prevent the buyer, get the product back out of the box, and use it again?

Share this post


Link to post
Share on other sites
  • 0

You can do that with "next owner permissions" if you make it no copy then anyone that buys it only has that one and when its rezzed and gone there is nothing left in their inventory.

 

When they unpack the original box instead of copying it to inventory it will move it, so the original box will be empty too.

Share this post


Link to post
Share on other sites
  • 0

LOL I know, wasn`t blaming you, its a great idea, I was just visualising the noobs and the lag & 60seconds....Aren`t you kind of intrigued what this item is? hehe :D

Share this post


Link to post
Share on other sites
  • 0

Do you think I should have pointed out that you can extend the life of a temporary object by sitting on it or attaching it? It only dies when you stand up or detach it. That's actually pretty nice. For example, if you wanted to ride to the ball in your one-time pumpkin carriage, or wear your one-time rented ball-gown..........

Share this post


Link to post
Share on other sites
  • 0

Like Rolig said, temp on rez is the best solution in this case. But if you want to learn how to do this with a script, there are two options. This is probably the most simple way:

 

default{    on_rez(integer meh)    {        llSleep(3600); //delay in seconds        llDie();    }}

 

The only problem with llSleep is that it prevents other script events from being executed during the 3600 seconds. So if your item has other scripted functions, you'd use a timer instead:

 

default{    on_rez(integer meh)    {        llSetTimerEvent(3600); //delay in seconds    }    timer()    {        llDie();    }}

 

Note that the scripts won't do anything right after you save them. In order for the on_rez event to kick in, you first have to pick up the item and rez it out again or wear it. 

Share this post


Link to post
Share on other sites
  • 0

That is actually a useful feature yes, we used that on our Turd-Tobaggan (don`t ask lol :D) so that you could slide down on the cow poop and they vanished when you got off at the end of the ride.

Share this post


Link to post
Share on other sites
  • 0

Oh, great. I had the OP headed off to the Prince's grand ball and now you have her sliding on a shingle in cow poop. Way to shift an image, Peewee. :=P

Share this post


Link to post
Share on other sites
  • 0

It's worse than that, he's dead Jim

Temp on rez lasts UP TO a minute, 'til the sim runs garbage-collection again. That means it could be gone within a few seconds :-)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...