CHANGED MEDIA

From Second Life Wiki
Revision as of 16:16, 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_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;