Difference between revisions of "CHANGED SCALE"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
default | default | ||
{ | { | ||
changed(integer change) | changed(integer change) | ||
{ | { | ||
if (change & CHANGED_SCALE) //note that it's & and not &&... it's bitwise! | if (change & CHANGED_SCALE) //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_SCALE = 0x8;The integer constant CHANGED_SCALE has the value 0x8
Prim scale has changed
Caveats
Related Articles
Functions
• | llSetScale | |||
• | llSetPrimitiveParams | – | PRIM_SIZE | |
• | llSetLinkPrimitiveParams | – | PRIM_SIZE |
Events
• | changed |
Examples
default { changed(integer change) { if (change & CHANGED_SCALE) //note that it's & and not &&... it's bitwise! { llOwnerSay("The prims size has changed."); } } }