Difference between revisions of "CHANGED LINK"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
|value={{LSL Hex|0x20}}
|value={{LSL Hex|0x20}}
|desc=The number of prims making up the object or avatars seated on the object have changed.
|desc=The number of prims making up the object or avatars seated on the object have changed.
|examples
|examples=
<pre>
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.");
        }
    }
}
</pre>
|functions=
|functions=
{{LSL DefineRow||[[llAvatarOnSitTarget]]|}}
{{LSL DefineRow||[[llBreakAllLinks]]|}}
{{LSL DefineRow||[[llBreakAllLinks]]|}}
{{LSL DefineRow||[[llBreakLink]]|}}
{{LSL DefineRow||[[llBreakLink]]|}}
{{LSL DefineRow||[[llCreateLink]]|}}
{{LSL DefineRow||[[llCreateLink]]|}}
{{LSL DefineRow||[[llSitTarget]]|}}
{{LSL DefineRow||[[llUnSit]]|}}
|constants=
|constants=
{{LSL DefineRow||[[PERMISSION_CHANGE_LINKS]]|}}
{{LSL DefineRow||[[PERMISSION_CHANGE_LINKS]]|}}

Revision as of 17:58, 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;