Difference between revisions of "CHANGED REGION START"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
|type=integer
|type=integer
|value={{LSL Hex|0x400}}
|value={{LSL Hex|0x400}}
|desc=Region has been restarted.
|desc=The region containing the object has just come online.
|examples=
|examples=
<lsl>
<lsl>
Line 12: Line 12:
         if (change & CHANGED_REGION_START) //note that it's & and not &&... it's bitwise!
         if (change & CHANGED_REGION_START) //note that it's & and not &&... it's bitwise!
         {
         {
             llOwnerSay("The region has restarted.");
             llOwnerSay("The region has come online.");
         }
         }
     }
     }
Line 22: Line 22:
{{LSL DefineRow||[[changed]]|}}
{{LSL DefineRow||[[changed]]|}}
|history=
|history=
*{{SVN|1836|rev=112899 |trunk=*|anchor=file15|ver=|ser=}}
*Suggestion: {{Jira|SVC-1086}} - LSL http_server
*Suggestion: {{Jira|SVC-3773}} - Change CHANGED_REGION_RESTART to CHANGED_REGION_START
*Implementation: {{SVN|1836|rev=112899 |trunk=*|anchor=file15|ver=<!--1.23.0.0-->|ser=<!--1.27.0.112940-->}}
|cat1=Region
|cat1=Region
|cat2=HTTP
|cat2=HTTP

Revision as of 11:14, 1 March 2009

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.

Caveats


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>

Deep Notes

History

Search JIRA for related Issues

Signature

integer CHANGED_REGION_START = 0x400;