IPGetPrevArmorAppearanceType

From NWN Lexicon
Revision as of 01:37, 26 August 2012 by Dood (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search



IPGetPrevArmorAppearanceType(object, int)

Returns the armor's previous valid appearance type for the specified part.

int IPGetPrevArmorAppearanceType(
    object oArmor,
    int nPart
);

Parameters

oArmor

Armor to get the previous appearance type of.

nPart

ITEM_APPR_ARMOR_MODEL_*


Description

Returns the previous valid appearance type for oArmor

nPart - ITEM_APPR_ARMOR_MODEL_* constant

Uses Get2DAstring, so do not use in loops



Remarks

Simply a wrapper for the IPGetArmorAppearanceType function in the same include file.

Used by the crafting system (x2_im_*).


Requirements

#include " x2_inc_itemprop "

Version

1.61

See Also

functions: 

IPGetRandomArmorAppearanceType

constants: 

ITEM_APPR_* Constants



 author: Lilac Soul