Jump to content

Is there function to kill an object or return it to inventory?


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

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

Recommended Posts

I am working on a script for a flying carpet.

Basically the carpet is rezzed, destination is input, the carpet moves to the designated point, then the carpet deletes itself or returns itself to inventory.


I've been trying various search terms. As yet I have not found a function that will kill an object or return it to inventory.


I'm sure I've overlooked something totally obvious. (Yes, total noob to lsl scripting).


Any help would be appreciated.

Regards,

 

Link to comment
Share on other sites

Keep in mind, though, that a person may be able to fly into a no-script area with your carpet, but the script will be inactive once he gets off and will not be able to self-destruct.  It may be wise to make the carpet temp-on-rez instead.  As long as someone is sitting on it, the carpet will survive.  As soon as the person gets up, though, it will poof.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4173 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...