IPGetNumberOfAppearances
From NWN Lexicon
Jump to navigationJump to search
IPGetNumberOfAppearances(int)
Returns the number of armor part variations for the specified part.
Parameters
nPart
ITEM_APPR_ARMOR_MODEL_*
Description
Returns the number of possible armor part variations for the specified part
nPart - ITEM_APPR_ARMOR_MODEL_* constant
Uses Get2DAstring, so do not use in loops
Remarks
Used by the crafting system (x2_im_*).
Known Bugs
BROKEN! This function does not exist! It is declared, but never implemented. Trying to use it will give this error message:
ERROR: UNDEFINED IDENTIFIER ()
Requirements
#include " x2_inc_itemprop "
Version
1.61
See Also
constants: |
author: Lilac Soul