CHANGED MEDIA

From Second Life Wiki
Jump to navigation Jump to search

Description

Constant: integer CHANGED_MEDIA = 0x800;

The integer constant CHANGED_MEDIA has the value 0x800

Prim Media on the prim has changed.

Related Articles

Functions

•  llSetPrimMediaParams
•  llClearPrimMedia

Events

•  changed

Examples

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

Deep Notes

History

Search JIRA for related Issues

Signature

integer CHANGED_MEDIA = 0x800;