Difference between revisions of "LlRemoveInventory"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
RJ Thibaud (talk | contribs) |
(<lsl> example) |
||
Line 8: | Line 8: | ||
|caveats=*If the current script is removed it will continue to run for a short period of time after this call. | |caveats=*If the current script is removed it will continue to run for a short period of time after this call. | ||
|constants | |constants | ||
|examples=Remove the current script from the object | |examples= | ||
<lsl>// Remove the current script from the object | |||
default | default | ||
{ | { | ||
Line 16: | Line 17: | ||
llRemoveInventory(llGetScriptName()); | llRemoveInventory(llGetScriptName()); | ||
} | } | ||
} | }</lsl> | ||
</ | |||
|helpers | |helpers | ||
|also_functions | |also_functions |
Revision as of 23:05, 3 March 2008
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.
- If the current script is removed it will continue to run for a short period of time after this call.
Examples
<lsl>// Remove the current script from the object
default {
state_entry() { llRemoveInventory(llGetScriptName()); }}</lsl>