Difference between revisions of "CHANGED SHAPE"

From Second Life Wiki
Jump to: navigation, search
(added details for CHANGED_SHAPE)
m (Correct English)
Line 12: Line 12:
 
         if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise!
 
         if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise!
 
         {
 
         {
             llOwnerSay("The prims shape has changed.");
+
             llOwnerSay("The prim's shape has changed.");
 
         }
 
         }
 
     }
 
     }

Revision as of 13:34, 22 May 2008

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 prim's shape has changed.");
        }
    }
}

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_SHAPE = 0x4;