CHANGED TEXTURE
Looking for the current API? Open the CHANGED_TEXTURE reference →
Wiki description
Prim texture parameters (shine/bump setting, repeats, flip, rotation, or offset) have changed.
Transparency or color changes trigger a CHANGED_COLOR event not a CHANGED_TEXTURE event.
Examples
default
{
changed(integer change)
{
if (change & CHANGED_TEXTURE) //note that it's & and not &&... it's bitwise!
{
llOwnerSay("The prims texture or texture attributes have changed.");
}
}
}See also: constants
See also: functions
See also: events
Known issues
- SVC-914: CHANGED_TEXTURE is not triggered when texture is changed via script
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.