Difference between revisions of "CHANGED SHAPE"
Jump to navigation
Jump to search
(added details for CHANGED_SHAPE) |
|||
Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value={{LSL Hex|0x4}} | |value={{LSL Hex|0x4}} | ||
|desc=Prim shape has changed | |desc=Prim type (box, prism, torus …) or shape (taper, twist, cut …) has changed. | ||
|examples= | |examples= | ||
<pre> | <pre> |
Revision as of 13:50, 19 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 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 prims shape has changed."); } } }