GetItemsInInventory

From Dragon Age Toolset Wiki
Revision as of 22:53, 1 August 2010 by Phaenan (Talk | contribs) (Added a bug related to the nBaseItemType param)

Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

Gets all items in an object inventory

object[] GetItemsInInventory(
object oObject,
int nGetItemsOptions = GET_ITEMS_OPTION_ALL,
int nBaseItemType = 0,
string sTagFilter = "",
int bIgnorePlotItems = FALSE
);
Parameters:
oObject
A creature or placeable with an inventory
nGetItemsOptions
[Undocumented]
nBaseItemType
Return only items with base item type matching. 0 to disable this filter. NB : This filter does not work on placeables inventories.
sTagFilter
[Undocumented]
bIgnorePlotItems
[Undocumented]
Returns:

[Undocumented]

Source:

script.ldf

Description

Provides access to a creatures or placeables inventory and equipped items.