GetAbilityCount

From Dragon Age Toolset Wiki
Jump to: navigation, search

Gives the number of abilities a creature has of a specified type and GUI type

int GetAbilityCount(
object oCreature,
int nType = 0,
int nGUIType = 0
);
Parameters:
oCreature
the creature
nType
The type of ability to count (if type is 0, all abilities are counted)
nGUIType
The GUI type to filter the count (if GUI type is 0, there is no GUI type filtering)
Returns:

Returns TRUE if oCreature meets the prerequisites for nAbility

Source:

script.ldf