Difference between revisions of "RemoveItem"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
m (remove tag)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Generated with joins}}
 
 
{{dafunction
 
{{dafunction
 
|name=RemoveItem
 
|name=RemoveItem
Line 9: Line 8:
 
|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
 
|param2default=-1
 
|returntype=void
 
|returntype=void

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.