CHANGED TELEPORT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
default | default | ||
{ | { | ||
changed(integer change) | changed(integer change) | ||
{ | { | ||
if (change & CHANGED_TELEPORT) //note that it's & and not &&... it's bitwise! | if (change & CHANGED_TELEPORT) //note that it's & and not &&... it's bitwise! | ||
Revision as of 19:17, 6 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)
{
if (change & CHANGED_TELEPORT) //note that it's & and not &&... it's bitwise!
{
llOwnerSay("The object has been teleported while attached.");
}
}
}