CHANGED_LINK
constant
Constant
integer CHANGED_LINK = 0x20;Constant groups
Other ChangeType values (12)
CHANGED_ALLOWED_DROP0x40CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_MEDIA0x800CHANGED_OWNER0x80CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_RENDER_MATERIAL0x1000CHANGED_SCALE0x8CHANGED_SHAPE0x4CHANGED_TELEPORT0x200CHANGED_TEXTURE0x10
The number of prims making up the object or avatars seated on the object have changed. This event also occurs when duplicating a linked object or when a prim in an object changes type or shape. This event does not occur when: an object is attached or detached, in an attachment when the avatar sits or unsits, in an attachment when another object is attached or detached, or when a single prim is duplicated.
Examples
Section titled “Examples”Example 1
default{ changed(integer change) { if (change & CHANGED_LINK) //note that it's & and not &&... it's bitwise! { llOwnerSay("The number of links have changed."); } }}See also
Section titled “See also”Constants
Section titled “Constants”Functions
Section titled “Functions”Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.