GetItemAppearance(object, int, int)
Returns the appearance of an item
int GetItemAppearance( object oItem, int nType, int nIndex );
Parameters
oItem
Item to get the appearance of.
nType
See remarks.
nIndex
See remarks.
Description
Queries the current value of the appearance settings on an item. The parameters are identical to those of CopyItemAndModify().
Remarks
Helmet models and simple items ignore iIndex.
Combinations (from CopyItemAndModify):
iType: ITEM_APPR_TYPE_SIMPLE_MODEL
iIndex: [Ignored]
Function returns: Model #
iType: ITEM_APPR_TYPE_WEAPON_COLOR
iIndex: ITEM_APPR_WEAPON_COLOR_*
Function returns: 1-4
iType: ITEM_APPR_TYPE_WEAPON_MODEL
iIndex: ITEM_APPR_WEAPON_MODEL_*
Function returns: Model #
iType: ITEM_APPR_TYPE_ARMOR_MODEL
iIndex: ITEM_APPR_ARMOR_MODEL_*
Function returns: Model #
iType: ITEM_APPR_TYPE_ARMOR_COLOR
iIndex: ITEM_APPR_ARMOR_COLOR_*
Function returns: 0-63
Version
1.61
See Also
functions: | CopyItemAndModify |
categories: | Get Data from Object Functions |
author: Lilac Soul