CHANGED INVENTORY
Revision as of 17:46, 1 March 2007 by Strife Onizuka (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer CHANGED_INVENTORY = 0x1;The integer constant CHANGED_INVENTORY has the value 0x1
Prim inventory has changed
Caveats
Related Articles
Examples
default { changed(integer change) //reset script if inventory changes { if (change & CHANGED_INVENTORY) //note that it's & and not &&... it's bitwise! { llOwnerSay("The inventory has changed."); } } }