LlOnRegionReset

From Second Life Wiki
Jump to navigation Jump to search

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)