Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for help Re: Object return / die

Shaylynn Thorne
Registered User
Join date: 13 Sep 2007
Posts: 2
09-19-2007 16:23
Hello everyone! :)

I am relatively new to SL so I appologize if this question has been brought up before, but here is the deal. I am looking for a scrip that will let me "lend" objects to others. Does such a thing exsist?
My ultimate goal would be to have the object "Rented out" and then returned to it's original owner when the pre-set time has expired.
I have been going crazy trying to figure out how to do this! I have fooled around with "rent" script, but being that I am new....well, you know how that goes. This stuff can get confusing! LOL
It would also be ok if the object had to "self destruct". .....Just throwing ideas out there.
Any help would be greatly appreciated!! Also, I am willing to invest in a scripter if anyone is available and would like to help.
Thanks in advance guys, and I hope to hear from you soon!

Shaylynn~
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
09-19-2007 16:53
You will need to have a time-limited llDie() on the object...which means you'll also need to be sure that the item given is no-copy.

You could allow an avatar to have the item rezzed for x amount of time (by putting a type of timer into the script) before it self-kills. In this type of situation, the avatar would be able to pull the object back into their inventory any number of times and the timer would stop counting...so a "24 hour demo" would be 24 hours of actual rezzed-time.

You could also allow an avatar to have the object for x amount of time after 1st rez (by putting a timestamp check into the script) before it self-kills. In this type of situation, the avatar would be able to pull the object back into their inventory any number of times, but once they rezzed the object beyond the 'kill time', it would llDie() immediately.

If you post up the code you have currently I'm sure we can all take a look at it...or if you'd like some one-on-one time in help, IM me in-world (it wouldn't be free though).
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Shaylynn Thorne
Registered User
Join date: 13 Sep 2007
Posts: 2
09-19-2007 20:55
Thank you Kenn. :)

I am going to go play around with this. I will come back and post up the script so you guys can see it.

I appreciate the help, and if all else fails (which is quite possible given my limited scripting abilities) I will look you up in world.

Shay~