Difference between revisions of "CHANGED SHAPE"
Jump to navigation
Jump to search
m (Correct English) |
m (pre -> lsl) |
||
Line 5: | Line 5: | ||
|desc=Prim type (box, prism, torus …) or shape (taper, twist, cut …) has changed. | |desc=Prim type (box, prism, torus …) or shape (taper, twist, cut …) has changed. | ||
|examples= | |examples= | ||
< | <lsl> | ||
default | default | ||
{ | { | ||
Line 16: | Line 16: | ||
} | } | ||
} | } | ||
</ | </lsl> | ||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} |
Revision as of 15:31, 27 November 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
<lsl> default {
changed(integer change) { if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prim's shape has changed."); } }
} </lsl>