Difference between revisions of "RemoveItemsByTag"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(add default, fix missing parameter description)
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=RemoveItemsByTag
 
|name=RemoveItemsByTag
Line 8: Line 7:
 
|param2type=string
 
|param2type=string
 
|param2name=sTag
 
|param2name=sTag
|param2desc=
+
|param2desc=The tag of the item to be removed
 
|param3type=int
 
|param3type=int
 
|param3name=nNumItems
 
|param3name=nNumItems
 
|param3desc=The number of items to be removed. Use -1 to remove all matching items
 
|param3desc=The number of items to be removed. Use -1 to remove all matching items
 +
|param3default= -1
 
|returntype=void
 
|returntype=void
 
|returndesc=
 
|returndesc=

Revision as of 22:58, 30 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.