Difference between revisions of "CHANGED MEDIA"

From Second Life Wiki
Jump to navigation Jump to search
m
m (<lsl> tag to <source>)
 
Line 6: Line 6:
|notes
|notes
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
Line 17: Line 17:
     }
     }
}
}
</lsl>
</source>
|functions=
|functions=
{{LSL DefineRow||[[llSetPrimMediaParams]]}}
{{LSL DefineRow||[[llSetPrimMediaParams]]}}

Latest revision as of 16:16, 22 January 2015

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;