UT CountItemInInventory

From Dragon Age Toolset Wiki
Jump to: navigation, search

Counts the number of an item in the Player's active inventory

int UT_CountItemInInventory(
resource rItem,
object oInvOwner = OBJECT_INVALID,
string sTag = ""
);
Parameters:
rItem
resource of item to check for
oInvOwner
Override for applying function to object other than PC
sTag
[Undocumented]
Returns:

The quantity of this item that is currently in the player's inventory

Source:

Core Resources.utility_h