GetAbilityCount

From Dragon Age Toolset Wiki
Revision as of 19:46, 25 February 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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