CHANGED LINK
Looking for the current API? Open the CHANGED_LINK reference →
Wiki description
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
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: constants
See also: functions
See also: 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.