Jump to content

Parcel Object Autoreturn Time via LSL


Desiree Moonwinder
 Share

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

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

Recommended Posts

TLDR: I need to be able to read the parcel's object return time setting, but I can't see any way to do that.

Pardon the new thread, please.  This is either easy, in which case I've overlooked something, or not available to LSL.

I'm building a vehicle that I rez via a hud. 

I want to set an llDie( ) time on the vehicle to be slightly shorter than the land parcel's auto return time so that autoreturn doesn't junk up my Lost and Found folder.  Sometimes in past efforts, I've set the object to Temporary status intead of using llDie(), but I don't see much practical difference.

Say if parcel autoreturn time is 300 seconds (5 minutes), I'll have the vehicle llDie() in 240 seconds if no one sits on it, and stop the timer if someone does sit on it.  I'll then restart the timer if the last person hops off the vehicle, triggered by a changed( integer change) with CHANGED_LINK flag, and testing for the number of links. 

To make this work, I need to be able to read the parcel's object return time setting, but I can't see any way to do that.

I've looked at:

I'm not the first to ask this question, but perhaps there is a way to do it now that wasn't possible in 2005: 

http://forums-archive.secondlife.com/54/a2/231877/1.html 

Link to comment
Share on other sites

Not possible via LSL.

Its been asked for many times, though.

Your application reminds me of the constants and functionality, STATUS_DIE_ON_AUTORETURN & STATUS_DIE_ON_RETURN for llSetStatus() and llGetStatus() I've thought about filing a request for in the past.

Such functionality would be for applications that last longer than actual explicit temp status.

The former is strictly for timed autoreturn. The latter is for manual return by land owner.

Neither should be confused with something like STATUS_DIE_ON_TAKE.

There's also a request for OBJECT_RETURN_TIME for llGetObjectDetails() but LL has been hesitant implementing it due to potential grief vectors.

When has that never been the case with any feature...

Edited by Lucia Nightfire
  • Thanks 1
Link to comment
Share on other sites

4 hours ago, Lucia Nightfire said:

Your application reminds me of the constants and functionality, STATUS_DIE_ON_AUTORETURN & STATUS_DIE_ON_RETURN for llSetStatus() and llGetStatus() I've thought about filing a request for in the past.

Please do.  I'll vote for it.  My recollection is that you are #2 in Jira filings behind Ms. Fizzle.  A Jira from you is known to be reasonably reasoned, whereas I'm an unknown. 

Link to comment
Share on other sites

On 1/3/2020 at 9:15 PM, animats said:

I don't think that's the same thing. That's a wholly different / new feature.

If I understood correctly, @Desiree Moonwinder wants a script to be able to get the autoreturn time set for the current parcel.

That JIRA is asking for a new feature; to set an autoreturn timer for an individual object, and get the value that was set for that object.

Edited by Wulfie Reanimator
Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...