Skip to content
lsl.devlsl.devLSL Dev

CHANGED REGION START

Looking for the current API? Open the CHANGED_REGION_START reference →

Wiki description

The region containing the object has just come online.

Examples

default
{
    changed(integer change)
    {
    //  note that it's & and not &&... it's bitwise!
        if (change & CHANGED_REGION_START)
        {
            key owner = llGetOwner();
            string region = llGetRegionName();
            llInstantMessage(owner, "Region '" + region + "' has restarted.");
        }
    }
}

Notes

When a region is (re)started all HTTP server URLs are automatically released and invalidated.

See also: functions

See also: events

History

  • Suggestion: SVC-1086 - LSL http_server
  • Suggestion: SVC-3773 - Change CHANGED_REGION_RESTART to CHANGED_REGION_START
  • Implementation: SVN:1836 r112899 Trunk ~ Client 1.23 ~ Server 1.27
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.