Difference between revisions of "GetItemPossessedBy"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(fix missing parameter)
 
Line 1: Line 1:
{{Generated with errors}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetItemPossessedBy
 
|name=GetItemPossessedBy
Line 10: Line 9:
 
|param2desc=tag for the item to return
 
|param2desc=tag for the item to return
 
|returntype=object
 
|returntype=object
|returndesc=
+
|returndesc=the object in the inventory with the specified tag.
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Latest revision as of 22:48, 30 July 2009

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