Skip to content
lsl.devlsl.devLSL Dev

Constants in the ChangeType flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
integer CHANGED_ALLOWED_DROP = 0x40;  // Object inventory changed because a user other than the owner (or the owner if the object is no-mod) added an item.integer CHANGED_COLOR = 0x2;  // Object's Blinn-Phong color or alpha parameters have changed.integer CHANGED_INVENTORY = 0x1;  // Prim inventory has changed by someone who has modification rights to it.integer CHANGED_LINK = 0x20;  // Number of prims making up the object or avatars seated on it has changed.integer CHANGED_MEDIA = 0x800;  // Prim Media on the prim has changed.integer CHANGED_OWNER = 0x80;  // Object has changed owners.integer CHANGED_REGION = 0x100;  // Object has changed regions by crossing a boundary or teleporting (if attached).integer CHANGED_REGION_START = 0x400;  // Region containing this object has just come online.integer CHANGED_RENDER_MATERIAL = 0x1000;  // Render material (prim material ID or material overrides) has changed on one or more faces.integer CHANGED_SCALE = 0x8;  // Prim scale of at least one prim in the linked object has changed.integer CHANGED_SHAPE = 0x4;  // Prim base shape (PRIM_TYPE, such as box, prism, torus, taper, twist, or cut) has changed.integer CHANGED_TELEPORT = 0x200;  // Avatar this object is attached to has teleported.integer CHANGED_TEXTURE = 0x10;  // Prim texture parameters (shine/bump settings, repeats, flip, rotation, offset, or texture) have changed.

Constants

ConstantTypeValueDescription
CHANGED_ALLOWED_DROPinteger0x40Object inventory changed because a user other than the owner (or the owner if the object is no-mod) added an item. This is only possible if enabled via llAllowInventoryDrop.
CHANGED_COLORinteger0x2Object's Blinn-Phong color or alpha parameters have changed.
CHANGED_INVENTORYinteger0x1Prim inventory has changed by someone who has modification rights to it.
CHANGED_LINKinteger0x20Number of prims making up the object or avatars seated on it has changed. Also occurs when duplicating a linked object or when a prim changes type or shape. Does not trigger on attach/detach, sit/unsit in attachments, or single prim duplication.
CHANGED_MEDIAinteger0x800Prim Media on the prim has changed.
CHANGED_OWNERinteger0x80Object has changed owners. Triggers in the original object when a user takes it, copies it, or deeds it to a group, and in the new object when it is first rezzed.
CHANGED_REGIONinteger0x100Object has changed regions by crossing a boundary or teleporting (if attached). Triggers only in the root prim of a linkset.
CHANGED_REGION_STARTinteger0x400Region containing this object has just come online.
CHANGED_RENDER_MATERIALinteger0x1000Render material (prim material ID or material overrides) has changed on one or more faces.
CHANGED_SCALEinteger0x8Prim scale of at least one prim in the linked object has changed. Only the root prim receives this event.
CHANGED_SHAPEinteger0x4Prim base shape (PRIM_TYPE, such as box, prism, torus, taper, twist, or cut) has changed.
CHANGED_TELEPORTinteger0x200Avatar this object is attached to has teleported. Triggers only in the root prim of an attachment. Does not occur for child prims or 'sit teleports'. If scripts are disabled at the destination, the event queues and triggers after moving to a script-enabled parcel.
CHANGED_TEXTUREinteger0x10Prim texture parameters (shine/bump settings, repeats, flip, rotation, offset, or texture) have changed.