CHANGED COLOR

From Second Life Wiki
Revision as of 16:14, 22 January 2015 by ObviousAltIsObvious Resident (talk | contribs) (<lsl> tag to <source>)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Constant: integer CHANGED_COLOR = 0x2;

The integer constant CHANGED_COLOR has the value 0x2

Prim color or alpha parameters have changed

Related Articles

Constants

•  PRIM_COLOR

Functions

•  llSetAlpha Sets the prim's alpha
•  llSetColor Sets the prim's color
•  llSetPrimitiveParams Sets the prim's parameters
•  llSetLinkAlpha Sets link's alpha
•  llSetLinkColor Sets link's color
•  llSetLinkPrimitiveParams Sets link's parameters

Events

•  changed

Examples

default
{
    changed(integer change)
    {

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

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_COLOR = 0x2;