GetAppearanceType

The   NWScript command returns the appearance of an object (which must be a creature). The returned value is an integer that corresponds to the APPEARANCE_TYPE_* constants. The returned value is APPEARANCE_TYPE_INVALID if the object is not a valid creature.