CHANGED TELEPORT
Revision as of 14:08, 20 June 2023 by Joanne Furlough (talk | contribs)
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. This event only occurs in the root prim of an attachment when the user has teleported. This event does not occur in child prims of attachments, nor does it occur due to a "sit teleport". If the user teleports into a parcel where their scripts are disabled the CHANGED_TELEPORT event is queued and occurs when user moves to a script-enabled parcel.
Caveats
Related Articles
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.");
}
}
}