Difference between revisions of "RemoveItem"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Generated by Sunjammer's Dragon Age Script Paser)
 
m (remove tag)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Generated with joins}}
 
 
{{dafunction
 
{{dafunction
 
|name=RemoveItem
 
|name=RemoveItem
Line 6: Line 5:
 
|param1name=oItem
 
|param1name=oItem
 
|param1desc=the item to remove
 
|param1desc=the item to remove
 +
|param1default=
 
|param2type=int
 
|param2type=int
 
|param2name=nNumItems
 
|param2name=nNumItems
|param2desc=the number of items to be removed from the stack (if applicable) Use -1 to remove all items in stack.
+
|param2desc=the number of items to be removed from the stack (if applicable). Use -1 to remove all items in stack.
 +
|param2default=-1
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=

Latest revision as of 22:20, 9 February 2010

Removes item(s) from its container

void RemoveItem(
object oItem,
int nNumItems = -1
);
Parameters:
oItem
the item to remove
nNumItems
the number of items to be removed from the stack (if applicable). Use -1 to remove all items in stack.
Returns:

Nothing.

Source:

script.ldf

Description

Removes the given item(s) from its container/inventory.