CHANGED INVENTORY

From Second Life Wiki
Revision as of 19:12, 6 March 2007 by Strife Onizuka (Talk | contribs)

Jump to: navigation, search

Description

Constant: integer CHANGED_INVENTORY = 0x1;

The integer constant CHANGED_INVENTORY has the value 0x1

Prim inventory has changed

Related Articles

Constants

•  CHANGED_ALLOWED_DROP llAllowInventoryDrop

Functions

•  llGiveInventory
•  llRemoveInventory
•  llRemoteLoadScriptPin

Events

•  changed

Examples

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

Deep Notes

Search JIRA for related Issues

Signature

integer CHANGED_INVENTORY = 0x1;