Skip to content
lsl.devlsl.devLSL Dev

CHANGED_REGION_START

constant
Constant
integer CHANGED_REGION_START = 0x400;

Constant groups

ChangeType

Other ChangeType values (12)

The region containing the object has just come online.

Example 1
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.");
}
}
}

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

  • 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.