CHANGED RENDER MATERIAL
Looking for the current API? Open the CHANGED_RENDER_MATERIAL reference →
Wiki description
Prim material ID or material overrides have changed on one or more faces.
Examples
default
{
changed(integer change)
{
if (change & CHANGED_RENDER_MATERIAL) //note that it's & and not &&... it's bitwise!
{
llOwnerSay("The prim's material ID and/or overrides have changed on one or more faces.");
}
}
}See also: functions
See also: events
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.