RemoveItemsByTag

From Dragon Age Toolset Wiki
Jump to: navigation, search

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.