IPCreateAndModifyArmorRobe

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


IPCreateAndModifyArmorRobe(object, int)

Copies an armor object and changes its appearance.

object IPCreateAndModifyArmorRobe(
    object oArmor,
    int nRobeType
);

Parameters

oArmor

Armor object whose appearance is altered.

nRobeType

Number of the robe model used for the altered appearance.


Description

This function takes an armor object as input and returns a copy of the original armor object with a modified appearance.

The exact type of the modified appearance depends on the value of nRobeType.



Remarks

Returns a copy of the original armor object.

The original armor object isn't destroyed by this function.

Eventually calls #include index for more details.


Requirements

#include " x2_inc_itemprop "


Version

???

See Also

functions: 

CopyItemAndModify

constants: 

ITEM_APPR_*



author: motu99, editors: Mistress, Kolyana