Jump to content
  • 0

Is it possible to create 'use-once' objects?


Lillian Luponox
 Share

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

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

3 answers to this question

Recommended Posts

  • 0

Sure it is, and it's done all the time.  You can take the easy route and just make your object Temporary (click the "Temporary" box while you have the object selected with your Build/Edit tool).  Once you do that, the object disappears about a minute later or, if you take it back to inventory, a minute after it is rezzed.  That method isn't foolproof, of course, because the user can UNcheck the box again, unless you have made your object No-copy/No-mod.  The other option is to add a bit of scripting code that calls the LSL function llDie().  You could trigger that with a timer in the script, or with a sensor that activates when someone touches, bumps into, or comes near to the object.  There are ways to get around that too, but it's a bit more elegant and offers you more flexiblity.

  • Like 1
Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...