Skip to content
lsl.devlsl.devLSL Dev

CHANGED_LINK

constant
Constant
integer CHANGED_LINK = 0x20;

Constant groups

ChangeType

Other ChangeType values (12)

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.

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

From the Second Life Wiki

Community documentation adapted from CHANGED LINK, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.