Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Can an Object Return Itself?

Own Westland
Second.Life@msn.com
Join date: 24 Dec 2007
Posts: 49
03-05-2008 00:34
If an object is lost somewhere, is there a way for itself to return to my inventory ?
_____________________
Helpful MSN Group: Second.Life@msn.com
Johnii Nowhere
Registered User
Join date: 20 Aug 2006
Posts: 6
I'm Lost Find me at Black Mire (128,128,34)
03-05-2008 00:50
Short answer... No

Long answer... It can tell you where it is if it can tell it is lost.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-05-2008 03:01
If it can find its way off the edge of the world (a location where there is no sim) before running into a no-script area, it can. Heh.
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
03-05-2008 05:51
From: Hewee Zetkin
If it can find its way off the edge of the world (a location where there is no sim) before running into a no-script area, it can. Heh.

Interesting concept, could that be achived by setting a very high elevation maybe?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-05-2008 07:28
a very low one might be more effective phantom + physics.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Trep Cosmo
Registered User
Join date: 3 Mar 2005
Posts: 101
03-05-2008 08:31
Using the setprimitiveparams position hack you can shoot an object above the build ceiling pretty quickly. Might work pretty well as a return mechanism.
_____________________
"There is no 'I' in team, but there is a 'Me' if you scramble it." -- House
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-05-2008 08:43
will warpPos exceed the moving limitations at height if it starts below 768? it'd have to be one hell of a list....
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Own Westland
Second.Life@msn.com
Join date: 24 Dec 2007
Posts: 49
03-05-2008 18:24
1. How to return itself to my inventory if it's lost? Which function?
2. How to copy itself to my inventory? Which function ?
_____________________
Helpful MSN Group: Second.Life@msn.com
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-05-2008 20:41
From: Own Westland
1. How to return itself to my inventory if it's lost? Which function?

See above. That's what this discussion is about.
From: Own Westland
2. How to copy itself to my inventory? Which function ?

I don't know of a way for an object to copy itself to your inventory, but if you give it attach permissions, it can move itself into your inventory IF YOU ARE PRESENT AND CLOSEBY. This can be accomplished with llAttachToAvatar() and llDetachFromAvatar(). Incidentally, this may well have the effect of changing the last point to which the object was attached, thus putting it in a different place than the user's preference next time it is simply worn without a location being specified. If you care about that, you can also have the attachment use llGetAttached() to remember the last place it was attached.

EDIT: It also may cause a current attachment to be detacted. Oh well.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-05-2008 21:04
the consensus for question 1 seems to be to send the object offworld (assuming it's on script enabled land).... if it's a plane or other aerial object it may be safer to send it up using warpPos, since there's less chance of crossing a no-script area (limited to ~70m over the ground), otherwise it might be easier to just turn it physical and phantom, and allow it to drop off world. either way it should auto-return to your lost and found folder. if it's lost in a no script zone, there isn't much that can be done.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -