Difference between revisions of "GetItemEquipSlot"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetItemEquipSlot
 
|name=GetItemEquipSlot
|brief=Returns the inventory slot this item is equipped in, or INVENTORY_SLOT_INVALID, if not equipped.
+
|brief=Returns the inventory slot this item is equipped in, or [[INVENTORY_SLOT_INVALID]], if not equipped.
 
|param1type=object
 
|param1type=object
 
|param1name=oItem
 
|param1name=oItem
 
|param1desc=The item in question
 
|param1desc=The item in question
 
|returntype=int
 
|returntype=int
|returndesc=The inventory slot, or INVENTORY_SLOT_INVALID, if not equipped.
+
|returndesc=The inventory slot, or [[INVENTORY_SLOT_INVALID]], if not equipped.
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|sourcemodule=
 
|sourcemodule=

Revision as of 00:03, 16 January 2010

Returns the inventory slot this item is equipped in, or INVENTORY_SLOT_INVALID, if not equipped.

int GetItemEquipSlot(
object oItem
);
Parameters:
oItem
The item in question
Returns:

The inventory slot, or INVENTORY_SLOT_INVALID, if not equipped.

Source:

script.ldf