The integer constant CHANGED_SHAPE has the value 0x4

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

Syntax

integer CHANGED_SHAPE = 0x4;

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.");
        }
    }
}

See also

Constants

Functions

Events