Difference between revisions of "CHANGED TELEPORT"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
|value={{LSL Hex|0x200}} | |value={{LSL Hex|0x200}} | ||
|desc=The avatar this object is attached to has teleported. | |desc=The avatar this object is attached to has teleported. | ||
|examples | |examples= | ||
<pre> | |||
default | |||
{ | |||
changed(integer change) //reset script if inventory changes | |||
{ | |||
if (change & CHANGED_TELEPORT) //note that it's & and not &&... it's bitwise! | |||
{ | |||
llOwnerSay("The object has been teleported while attached."); | |||
} | |||
} | |||
} | |||
</pre> | |||
|functions | |functions | ||
|events= | |events= |
Revision as of 18:11, 1 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CHANGED_TELEPORT = 0x200;The integer constant CHANGED_TELEPORT has the value 0x200
The avatar this object is attached to has teleported.
Caveats
Related Articles
Events
• | changed |
Examples
default { changed(integer change) //reset script if inventory changes { if (change & CHANGED_TELEPORT) //note that it's & and not &&... it's bitwise! { llOwnerSay("The object has been teleported while attached."); } } }