llRemoveInventory

From Second Life Wiki
Revision as of 02:16, 30 November 2008 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llRemoveInventory( string item );

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.
  • If the current script is removed it will continue to run for a short period of time after this call.

Important Issues

~ All Issues ~ Search JIRA for related Bugs
   CHANGED_INVENTORY not triggered by llRemoveInventory()

Examples

<lsl>// Remove the current script from the object

default {

   state_entry()
   {
       llRemoveInventory(llGetScriptName());
   }
}</lsl>

Deep Notes

All Issues

~ Search JIRA for related Issues
   CHANGED_INVENTORY not triggered by llRemoveInventory()

Signature

function void llRemoveInventory( string item );