IPGetNextArmorAppearanceType
From NWN Lexicon
Contents |
[edit] IPGetNextArmorAppearanceType(object, int)
Returns the next valid appearance type for an armor.
int IPGetNextArmorAppearanceType( object oArmor, int nPart );
[edit] Parameters
oArmor
Armor to get appearance type of.
nPart
ITEM_APPR_ARMOR_MODEL_*
[edit] Description
Returns the next valid appearance type for oArmor
nPart - ITEM_APPR_ARMOR_MODEL_* constant
Uses Get2DAstring, so do not use in loops
[edit] Remarks
Simply a wrapper for the IPGetArmorAppearanceType function in the same include file.
Used by the crafting system (x2_im_*).
[edit] Requirements
#include " x2_inc_itemprop "
[edit] Version
1.61
[edit] See Also
functions: | |
constants: |
author: Lilac Soul