Difference between revisions of "CHANGED SHAPE"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
|value={{LSL Hex|0x4}}
|value={{LSL Hex|0x4}}
|desc=Prim shape has changed
|desc=Prim shape has changed
|examples
|examples=
|functions
<pre>
default
{
    changed(integer change) //reset script if inventory changes
    {
        if (change & CHANGED_SHAPE) //note that it's & and not &&... it's bitwise!
        {
            llOwnerSay("The prims shape has changed.");
        }
    }
}
</pre>
|functions=
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}
|events=
|events=
{{LSL DefineRow||[[changed]]|}}
{{LSL DefineRow||[[changed]]|}}

Revision as of 18:48, 1 March 2007