CHANGED LINK
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CHANGED_LINK = 0x20;The integer constant CHANGED_LINK has the value 0x20
The number of prims making up the object or avatars seated on the object have changed.
Caveats
Related Articles
Constants
| • | PERMISSION_CHANGE_LINKS |
Functions
| • | llAvatarOnSitTarget | |||
| • | llBreakAllLinks | |||
| • | llBreakLink | |||
| • | llCreateLink | |||
| • | llSitTarget | |||
| • | llUnSit |
Events
| • | changed |
Examples
default
{
changed(integer change) //reset script if inventory changes
{
if (change & CHANGED_LINK) //note that it's & and not &&... it's bitwise!
{
llOwnerSay("The number of links have changed.");
}
}
}