GetCombatantType

From Dragon Age Toolset Wiki
Revision as of 21:20, 19 February 2010 by BryanDerksen (Talk | contribs)

Jump to: navigation, search

Returns the Combatant Type of a creature

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

a CREATURE_TYPE_COMBATANT or CREATURE_TYPE_NON_COMBATANT constant

Source:

script.ldf

Description

Returns a 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.