CHANGED SCALE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
added details for CHANGED_SCALE |
||
| Line 3: | Line 3: | ||
|type=integer | |type=integer | ||
|value={{LSL Hex|0x8}} | |value={{LSL Hex|0x8}} | ||
|desc=Prim scale has changed | |desc=Prim scale has changed. Other prims in a linked object will not receive this event. If an entire link set is resized then only the root prim will receive this event. | ||
|examples= | |examples= | ||
<pre> | <pre> | ||
Revision as of 14:06, 19 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. Other prims in a linked object will not receive this event. If an entire link set is resized then only the root prim will receive this event.
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.");
}
}
}