CHANGED SHAPE

From Second Life Wiki
Revision as of 15:20, 22 January 2015 by ObviousAltIsObvious Resident (talk | contribs) (<lsl> tag to <source>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Constant: integer CHANGED_SHAPE = 0x4;

The integer constant CHANGED_SHAPE has the value 0x4

PRIM_TYPE (box, prism, torus, taper, twist, cut …) has changed.

Caveats


Related Articles

Examples

default
{
    changed(integer change)
    {
        if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prim's shape has changed.");
        }
    }
}

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_SHAPE = 0x4;