GetCombatantType

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

Jump to: navigation, search

Returns the Creature Type (aka Combatant Type) of a creature

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

Index into creaturetypes.xls (CREATURE_TYPE* constant)

Source:

script.ldf

Description

The function returns the creature type index from (creaturetypes.xls) as defined in the toolset.