SetCreatureAppearanceType(object, int)

Change a creature's appearance

void SetCreatureAppearanceType(
    object oCreature,
    int nAppearanceType
);

Parameters

oCreature

Creature to change appearance of

nAppearanceType

APPEARANCE_TYPE_*


Description

Sets the creature's appearance type to the value specified (uses the APPEARANCE_TYPE_XXX constants).



Remarks

This will alter a creature's appearance. Unlike EffectPolymorph, stats etc. don't change with this command.

There may be appearance types you can use with this command which don't have associated constants. Look in your appearance.2da file - for instance, in version 1.61, there's no APPEARANCE_TYPE_BEHOLDER, but using the row number (401) should do the trick, if you have the correct expansion pack installed, that is.


Version

1.61

See Also

functions: EffectPolymorph
categories: Action on Object Functions
constants: APPEARANCE_TYPE_* Constants


 author: Lilac Soul
 Send comments on this topic.