Difference between revisions of "CHANGED SHAPE"

From Second Life Wiki
Jump to: navigation, 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 14:50, 19 March 2007

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.

Related Articles

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams

Events

•  changed

Examples

default
{
    changed(integer change)
    {
        if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prims shape has changed.");
        }
    }
}

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_SHAPE = 0x4;