GetCombatantType

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns the Combatant Type of a creature

int GetCombatantType(
object oidCreature
);
Parameters:
oidCreature
The creature
Returns:

CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT

Source:

script.ldf

Description

Returns the CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT constant.

Note that 2da_constants_h also defines a set of CREATURE_TYPE_* constants. These are not returned by this function, only the CREATURE_TYPE_* constants defined in script.ldf apply here.