Difference between revisions of "CHANGED SHAPE"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
default | default | ||
{ | { | ||
changed(integer change) | changed(integer change) | ||
{ | { | ||
if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise! | if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise! |
Revision as of 18:13, 6 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CHANGED_SHAPE = 0x4;The integer constant CHANGED_SHAPE has the value 0x4
Prim shape has changed
Caveats
Related Articles
Examples
default { changed(integer change) { if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prims shape has changed."); } } }