LlRemoveInventory
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Summary
Function: llRemoveInventory( string item );| 151 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Remove the named inventory item
| • string | item | – | an item in the prim's inventory |
Caveats
- If item is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.
- If the current script is removed it will continue to run for a short period of time after this call.
Important Issues
~ Search JIRA for related Bugs| | | SVC-304 | [c] | CHANGED_INVENTORY not triggered by llRemoveInventory() |
Examples
// Remove the current script from the object default { state_entry() { llRemoveInventory(llGetScriptName()); } }
Deep Notes
Issues
~ Search JIRA for related Issues| | | SVC-304 | [c] | CHANGED_INVENTORY not triggered by llRemoveInventory() |
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

