CHANGED_SCALE
constant
Constant
integer CHANGED_SCALE = 0x8;Constant groups
Other ChangeType values (12)
CHANGED_ALLOWED_DROP0x40CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_LINK0x20CHANGED_MEDIA0x800CHANGED_OWNER0x80CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_RENDER_MATERIAL0x1000CHANGED_SHAPE0x4CHANGED_TELEPORT0x200CHANGED_TEXTURE0x10
The prim scale of at least one prim in the linked object has changed. Only the root prim will receive this event.
Caveats
Section titled “Caveats”- Changes in scale for child prims will trigger this event in the root.
Examples
Section titled “Examples”Example 1
default{ changed(integer change) { if (change & CHANGED_SCALE) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prims size has changed."); } }}Known issues
Section titled “Known issues”SVC-2549: changed(CHANGED_SCALE) is triggered only in root prim instead of rescaled prim.
See also
Section titled “See also”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.