Retrieves the appearance of a specified creature.
- Creature, placeable or door to return the appearance of.
For creatures returns the APPEARANCE_TYPE_* value of a specified creature, which is a reference to a appearance.2da line.
For placeables the line returned is a line in placeable.2da
For doors are odd; it returns a line from doortypes.2da, which is 0 for most generic doors. Specific doors however return the line ID as usual. You can use ObjectToJson to get the generic appearance ID if necessary.
For other objects it returns APPEARANCE_TYPE_INVALID.
Since the APPEARANCE_TYPE_* values are references to row numbers in the appearance.2da file - it means that you can use the value returned by this function to determine stuff about the creature such as height, moverate, sizecategory, etc. using Get2DAString.
You can use SetCreatureAppearanceType to set a different appearence. This will always return the current appearance - including if the person is polymorphed!
As noted above generic doors you need to use JSON to get their specific appearance type from genericdoors.2da
author: Charles Feduke, editor: Jasperre