Difference between revisions of "CHANGED REGION"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 8: Line 8:
default
default
{
{
     changed(integer change) //reset script if inventory changes
     changed(integer change)
     {
     {
         if (change & CHANGED_REGION) //note that it's & and not &&... it's bitwise!
         if (change & CHANGED_REGION) //note that it's & and not &&... it's bitwise!

Revision as of 18:16, 6 March 2007