llRemoveInventory
Revision as of 05:27, 27 September 2007 by Core Taurog (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llRemoveInventory( string item );151 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Remove the named inventory item
• string | item | – | an item in the inventory of the prim this script is in |
Caveats
- If item is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
Examples
Remove the current script from the object
default { state_entry() { llRemoveInventory(llGetScriptName()); } }