CHANGED_SHAPE
constant
Constant
integer CHANGED_SHAPE = 0x4;Prim base shape (PRIM_TYPE, such as box, prism, torus, taper, twist, or cut) has changed.
Constant groups
Other ChangeType values (12)
CHANGED_ALLOWED_DROP0x40CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_LINK0x20CHANGED_MEDIA0x800CHANGED_OWNER0x80CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_RENDER_MATERIAL0x1000CHANGED_SCALE0x8CHANGED_TELEPORT0x200CHANGED_TEXTURE0x10
PRIM_TYPE (box, prism, torus, taper, twist, cut …) has changed.
Examples
Section titled “Examples”Example 1
default{ changed(integer change) { if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prim's shape has 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.