Difference between revisions of "GetItemEquipSlot"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) |
m |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{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_*]] 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 |
| − | |param1desc= | + | |param1desc = the item in question |
| − | |returntype=int | + | |returntype = int |
| − | |returndesc= | + | |returndesc = an [[INVENTORY_SLOT_*]] constant |
| − | |sourcefile=script.ldf | + | |sourcefile = script.ldf |
| − | |sourcemodule= | + | |sourcemodule = |
}} | }} | ||
| − | + | == Description == | |
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
| + | |||
| + | See [[INVENTORY_SLOT_*]] constants for a list of values this function can return. | ||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
Latest revision as of 18:46, 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.
- Parameters:
- oItem
- the item in question
- Returns:
- an INVENTORY_SLOT_* constant
- Source:
- script.ldf
Description
See INVENTORY_SLOT_* constants for a list of values this function can return.