GetItemPossessedBy

From Dragon Age Toolset Wiki
Revision as of 22:48, 30 July 2009 by BryanDerksen (Talk | contribs) (fix missing parameter)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns an item possessed by an object (creature or placeable) with the given tag

object GetItemPossessedBy(
object oObject,
string sTag
);
Parameters:
oObject
the object with an inventory
sTag
tag for the item to return
Returns:

the object in the inventory with the specified tag.

Source:

script.ldf

Description

Returns an item possessed by an object (creature or placeable) with the given tag