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 4534 days.

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

Question

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 4534 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...