Difference between revisions of "CHANGED INVENTORY"
Jump to navigation
Jump to search
m |
|||
Line 17: | Line 17: | ||
} | } | ||
</pre> | </pre> | ||
|constants= | |||
{{LSL DefineRow||[[CHANGED_ALLOWED_DROP]]|[[llAllowInventoryDrop]]}} | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llGiveInventory]]|}} | {{LSL DefineRow||[[llGiveInventory]]|}} |
Revision as of 18:12, 6 March 2007
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
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."); } } }