Difference between revisions of "GetItemEquipSlot"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Fixing links)
m
Line 1: Line 1:
 
{{dafunction
 
{{dafunction
 
|name        = GetItemEquipSlot
 
|name        = GetItemEquipSlot
|brief        = Returns [[INVENTORY_SLOT_*]] constant for the inventory slot this item is equipped in, or the [[INVENTORY_SLOT_*|INVENTORY_SLOT_INVALID]] constant, if not equipped.
+
|brief        = Returns the [[INVENTORY_SLOT_*]] constant for the inventory slot this item is equipped in, or the [[INVENTORY_SLOT_*|INVENTORY_SLOT_INVALID]] constant, if not equipped.
 
|param1type  = object
 
|param1type  = object
 
|param1name  = oItem
 
|param1name  = oItem

Revision as of 19:45, 3 August 2011

Returns the INVENTORY_SLOT_* constant for the inventory slot this item is equipped in, or the INVENTORY_SLOT_INVALID constant, if not equipped.

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

an INVENTORY_SLOT_* constant

Source:

script.ldf

Description

See INVENTORY_SLOT_* for a list of constants this function can return.