IPGetNumberOfAppearances
From NWN Lexicon
Contents |
[edit] IPGetNumberOfAppearances(int)
Returns the number of armor part variations for the specified part.
int IPGetNumberOfAppearances( int nPart );
[edit] Parameters
nPart
ITEM_APPR_ARMOR_MODEL_*
[edit] 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
[edit] Remarks
Used by the crafting system (x2_im_*).
[edit] 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 ()
[edit] Requirements
#include " x2_inc_itemprop "
[edit] Version
1.61
[edit] See Also
constants: |
author: Lilac Soul