Difference between revisions of "GetAbilityCount"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: re-import with default parameter value parameters set)
(looks okay, removing tag)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=GetAbilityCount
 
|name=GetAbilityCount

Latest revision as of 19:46, 25 February 2010

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