Difference between revisions of "CHANGED SHAPE"
Jump to navigation
Jump to search
m (pre -> lsl) |
Kireji Haiku (talk | contribs) m (added intra-wiki links and) |
||
Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value={{LSL Hex|0x4}} | |value={{LSL Hex|0x4}} | ||
|desc= | |desc=[[PRIM_TYPE]] (box, prism, torus, taper, twist, cut …) has changed. | ||
|examples= | |examples= | ||
<lsl> | <lsl> | ||
Line 17: | Line 17: | ||
} | } | ||
</lsl> | </lsl> | ||
|constants= | |||
{{LSL DefineRow||[[PRIM_TYPE]]|}} | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}} | ||
{{LSL DefineRow||[[llSetLinkPrimitiveParamsFast]]|}} | |||
{{LSL DefineRow||[[llGetPrimitiveParams]]|}} | |||
{{LSL DefineRow||[[llGetLinkPrimitiveParams]]|}} | |||
|events= | |events= | ||
{{LSL DefineRow||[[changed]]|}} | {{LSL DefineRow||[[changed]]|}} |
Revision as of 10:56, 8 January 2014
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, taper, twist, cut …) has changed.
Caveats
Related Articles
Constants
• | PRIM_TYPE |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llSetLinkPrimitiveParamsFast | |||
• | llGetPrimitiveParams | |||
• | llGetLinkPrimitiveParams |
Events
• | changed |
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>