The integer constant CHANGED_MEDIA has the value 0x800

Prim Media on the prim has changed.

Syntax

integer CHANGED_MEDIA = 0x800;

Examples

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

See also

Functions

Events

Deep notes

History