CHANGED OWNER: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Strife Onizuka (talk | contribs)
No edit summary
Line 4: Line 4:
|value={{LSL Hex|0x80}}
|value={{LSL Hex|0x80}}
|desc=The object has changed owners.
|desc=The object has changed owners.
|examples
|examples=
<pre>
default
{
    changed(integer change) //reset script if inventory changes
    {
        if (change & CHANGED_OWNER) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The owner of the object has changed.");
        }
    }
}
</pre>
|functions
|functions
|events=
|events=

Revision as of 19:02, 1 March 2007