Difference between revisions of "RemoveItemsByTag"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
m (param2 desc)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=RemoveItemsByTag
 
|name=RemoveItemsByTag
Line 9: Line 8:
 
|param2type=string
 
|param2type=string
 
|param2name=sTag
 
|param2name=sTag
|param2desc=
+
|param2desc=The tag of the item to be removed
 
|param2default=
 
|param2default=
 
|param3type=int
 
|param3type=int

Latest revision as of 23:34, 31 July 2009

Removes item(s) from its container

void RemoveItemsByTag(
object oPossessor,
string sTag,
int nNumItems = -1
);
Parameters:
oPossessor
The placeable or creature to remove items from
sTag
The tag of the item to be removed
nNumItems
The number of items to be removed. Use -1 to remove all matching items
Returns:

Nothing.

Source:

script.ldf

Description

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