UT CountItemInInventory

From Dragon Age Toolset Wiki
Revision as of 21:44, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_CountItemInInventory |brief = Counts the number of an item in the Player's active inventory |param1type = resource |param1name = rItem |param1desc = resou...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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