Difference between revisions of "CHANGED LINK"

From Second Life Wiki
Jump to navigation Jump to search
Line 28: Line 28:
|events=
|events=
{{LSL DefineRow||[[changed]]|}}
{{LSL DefineRow||[[changed]]|}}
|cat1
|cat1=Link
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 18:27, 1 March 2007

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.");
        }
    }
}

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_LINK = 0x20;