Difference between revisions of "CHANGED SHAPE"
Jump to navigation
Jump to search
(added details for CHANGED_SHAPE) |
m (Correct English) |
||
Line 12: | Line 12: | ||
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! | ||
{ | { | ||
llOwnerSay("The | llOwnerSay("The prim's shape has changed."); | ||
} | } | ||
} | } |
Revision as of 12:34, 22 May 2008
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 type (box, prism, torus …) or shape (taper, twist, cut …) 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 prim's shape has changed."); } } }