CHANGED SCALE

From Second Life Wiki
Jump to navigation Jump to search

Description

Constant: integer CHANGED_SCALE = 0x8;

The integer constant CHANGED_SCALE has the value 0x8

Prim scale has changed

Related Articles

Functions

•  llSetScale
•  llSetPrimitiveParams PRIM_SIZE
•  llSetLinkPrimitiveParams PRIM_SIZE

Events

•  changed

Examples

default
{
    changed(integer change) //reset script if inventory changes
    {
        if (change & CHANGED_SCALE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prims size has changed.");
        }
    }
}

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_SCALE = 0x8;