Difference between revisions of "UT CountItemInInventory"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(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...')
 
(No difference)

Latest revision as of 21:44, 10 February 2010

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