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 CopyItemAndModify.

The robe model number passed into CopyItemAndModify() actually is nRobeType+2.

This is an internal function. See the note near the top of #include index for more details.


Requirements

#include "x2_inc_itemprop"


Version

???

See Also

functions:  CopyItemAndModify
constants:  ITEM_APPR_*
categories:  ItemCreation Functions | ItemProperties Functions


author: motu99, editors: Mistress, Kolyana