|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
03-17-2006 09:44
.. thingie
I'm sorry I dont know how to properly explain what im lookin for but let me try: you know how at times we have our stuff returned to us to the "Lost and Found Folder"? Would someone be able to come up with a script which will allow me to have my stuff returned to me after a X ammout of mnts or seconds set by me, the owner of the object? Like if lets say i set an object somewhere anywhere in the same sim or somewhere else in the game and set it to be returned to me in lets say 5 mnts after dropping it or settin it down somewhere..... thats what im lookin for.
Let me know if you guys can make something like that pls. Thank you!
|
|
Feynt Mistral
Registered User
Join date: 24 Sep 2005
Posts: 551
|
03-17-2006 09:58
You could set the object to physics and use llVolumeDetect() to make it fall through the ground and go off world, it would certainly be returned to you that way. You'll have to have an "on_rez" event to turn both off however or else it'll KEEP falling off world when you try to rez it again from your lost and found.
|
|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
03-17-2006 11:11
From: Feynt Mistral You could set the object to physics and use llVolumeDetect() to make it fall through the ground and go off world, it would certainly be returned to you that way. You'll have to have an "on_rez" event to turn both off however or else it'll KEEP falling off world when you try to rez it again from your lost and found. I'm still learning about the game so i dont really know how to do that would you be able to give me a lil more detailed step by step? Thank you!
|
|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
03-18-2006 08:37
Anyone?
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
03-18-2006 09:30
Feynt's response is actually reliant on a bug, and should probably be avoided. However something like this is what he means, and it doesn't rely on a bug - this will make the object fly upwards and hit the 4096m limit for physical movement. It won't necessarily work for massive objects though: default { on_rez(integer p) { llSetBuouyancy(0.0); llSetStatus(STATUS_PHYSICS, FALSE); llSetTimerEvent(300.0); //This gives you 5 minutes } timer() { llSetStatus(STATUS_PHYSICS, TRUE); llSetBuoyancy(1000.0); llSetTimerEvent(0.0); } } N.B. I've not actually compiled this in world. It's not the nicest way to do it - there are ways to make the "autoreturn" work over different times that I've ignored completely.
|
|
Dale Harmison
Registered User
Join date: 26 Dec 2005
Posts: 59
|
03-18-2006 15:06
yeah "autoreturn" would be the best thing to have so, hook a brother up 
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
03-18-2006 18:37
The reason we're giving you these ways is because there is no way to actually do what you want directly.
The system I gave you will work - once a physical object hits 4096m it will be autoreturned for going off world. The other suggested one works (at the moment) because physical volume-detecting objects currently fall through things - it is a bug and might die.
What I meant was you'd said you wanted 5 minutes, so I'd hard coded that in. It would be possible to change the script so it could be set for other time periods.
But the "simple" approach to what you want is impossible I'm afraid.
|