The integer constant CHANGED_COLOR has the value 0x2

Prim Blinn-Phong color or alpha parameters have changed

Syntax

integer CHANGED_COLOR = 0x2;

Examples

default
{
    changed(integer change)
    {

        if (change & CHANGED_COLOR) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The color or alpha changed.");
        }
    }
}

See also

Constants

Functions

Events