Difference between revisions of "LlOnRegionReset"

From Second Life Wiki
Jump to: navigation, search
m (lsl code tagging)
 
Line 9: Line 9:
  
 
:Where are you storing your data that is causing it to get lost? You're not using the event queue are you? -- [[User:Strife Onizuka|Strife Onizuka]] 09:15, 6 June 2007 (PDT)
 
:Where are you storing your data that is causing it to get lost? You're not using the event queue are you? -- [[User:Strife Onizuka|Strife Onizuka]] 09:15, 6 June 2007 (PDT)
 +
 +
: Try to use the event [[Changed]] along with constant [[CHANGED_REGION]] and [[CHANGED_REGION_START]]. --[[User:Shadow Siamendes|Shadow Siamendes]] 10:10, 5 July 2012 (PDT)

Latest revision as of 09:10, 5 July 2012

It would be nice if a shutdown notice from LL would trigger a scripted event. I'm using userlists which get lost when the region resets. If a noticed regionreset will trigger an event, it would be possible to take backup measures using httpreq.

Like the event will be set with LlSetResetEvent(integer secondstodisaster); <lsl> ResetEvent(string LLNotice) {

   llHTTPreq(migratedate(ALL));

} </lsl>

Where are you storing your data that is causing it to get lost? You're not using the event queue are you? -- Strife Onizuka 09:15, 6 June 2007 (PDT)
Try to use the event Changed along with constant CHANGED_REGION and CHANGED_REGION_START. --Shadow Siamendes 10:10, 5 July 2012 (PDT)