GetAppearanceType(object)
Retrieves the appearance of a specified creature.
int GetAppearanceType( object oCreature );
Parameters
oCreature
Creature to return the APPEARANCE_TYPE_* value of.
Description
Returns the APPEARANCE_TYPE_* value of a specified creature; returns APPEARANCE_TYPE_INVALID for non-creatures or invalid creatures.
Remarks
The APPEARANCE_TYPE_* values are references to rownumbers in the appearance.2da file - which means that you can use the value returned by this function to determine stuff about the creature such as height, moverate, sizecategory, etc.
Version
1.30
See Also
categories: | Get Data from Creature Functions |
constants: | APPEARANCE_TYPE_* Constants |
author: Charles Feduke, editor: Lilac Soul
Send comments on this topic.