Difference between revisions of "CHANGED REGION START"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL_Generic/pre-release|constant|server-release=1.27}}{{LSL Constant
{{LSL_Generic/pre-release|constant|server-release=[[Release Notes/Second Life Server/1.27|1.27]]}}{{LSL Constant
|name=CHANGED_REGION_START
|name=CHANGED_REGION_START
|type=integer
|type=integer

Revision as of 10:59, 8 July 2009

Emblem-important-red.png Pre-release Documentation Warning!

This constant is not available yet. This documentation was written prior to its final release so it may not match the final implementation.It is slated for release in Server 1.27.

Description

Constant: integer CHANGED_REGION_START = 0x400;

The integer constant CHANGED_REGION_START has the value 0x400

The region containing the object has just come online.

Related Articles

Functions

•  llRequestSimulatorData

Events

•  changed

Examples

<lsl> default {

   changed(integer change)
   {
       if (change & CHANGED_REGION_START) //note that it's & and not &&... it's bitwise!
       {
           llOwnerSay("The region has come online.");
       }
   }

} </lsl>

Notes

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

Deep Notes

History

Search JIRA for related Issues

Signature

integer CHANGED_REGION_START = 0x400;