animats Posted April 22, 2018 Share Posted April 22, 2018 (edited) There's no LSL function to obtain parcel autoreturn time, is there? llGetParcelFlags will give you the flags to tell if you can enter, but llGetParcelDetails does not have an option for autoreturn time. I'd like to put a feature in vehicles so that when you park them on a place that might autoreturn them, it tells you how much time you have left, and IMs you with a reminder as the autoreturn time approaches. Edited April 22, 2018 by animats More info. Link to comment Share on other sites More sharing options...
Lucia Nightfire Posted April 22, 2018 Share Posted April 22, 2018 Good luck with that, heh. Link to comment Share on other sites More sharing options...
Rachel1206 Posted April 23, 2018 Share Posted April 23, 2018 An extension to llGetParcelFlags() with parcel return time would be nice. Link to comment Share on other sites More sharing options...
Jules Catlyn Posted April 23, 2018 Share Posted April 23, 2018 The more features you add to a vehicle (or any other item) the more script time it uses. Not good for the usability. Link to comment Share on other sites More sharing options...
Qie Niangao Posted April 23, 2018 Share Posted April 23, 2018 Yeah, it would need to be a new attribute returned by llGetParcelDetails() -- which should be a short job for an intern to model after any of the existing attributes. (It's not a binary, so not appropriate for llGetParcelFlags().) There's no reason such a feature would need to add noticeably to script time -- it's a one-time call and a long interval, fire-once timer when the vehicle stops; only a few simple lines of script and maybe a state variable, so negligible increase in memory, too. 2 Link to comment Share on other sites More sharing options...
Callum Meriman Posted April 24, 2018 Share Posted April 24, 2018 Would be a nice QOL feature for vehicle users. Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted April 24, 2018 Share Posted April 24, 2018 (edited) 19 hours ago, Rachel1206 said: An extension to llGetParcelFlags() with parcel return time would be nice. I really doubt llGetParcelFlags would ever be expanded in this way. It is a bitfield function for flags, as in it compares the individual bits (on/off flags) of a whole integer. Parcel Auto Return is not a flag and it can cover any number of bits, so it's incompatible with the function. Simplest solution is to just create a new function. The most logical solution is to extend llGetParcelDetails instead. (That might sound nit-picky but my goal is to be informative.) Edited April 24, 2018 by Wulfie Reanimator Link to comment Share on other sites More sharing options...
Rachel1206 Posted April 24, 2018 Share Posted April 24, 2018 Yes, Qie Niangao corrected me on this. Link to comment Share on other sites More sharing options...
Recommended Posts
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