GetItemPossessedBy

From Dragon Age Toolset Wiki
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