Difference between revisions of "GetAbilityCount"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: Importing auto-generated function articles) |
BryanDerksen (Talk | contribs) (looks okay, removing tag) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{dafunction | {{dafunction | ||
|name=GetAbilityCount | |name=GetAbilityCount | ||
Line 6: | Line 5: | ||
|param1name=oCreature | |param1name=oCreature | ||
|param1desc=the creature | |param1desc=the creature | ||
+ | |param1default= | ||
|param2type=int | |param2type=int | ||
|param2name=nType | |param2name=nType | ||
|param2desc=The type of ability to count (if type is 0, all abilities are counted) | |param2desc=The type of ability to count (if type is 0, all abilities are counted) | ||
+ | |param2default=0 | ||
|param3type=int | |param3type=int | ||
|param3name=nGUIType | |param3name=nGUIType | ||
|param3desc=The GUI type to filter the count (if GUI type is 0, there is no GUI type filtering) | |param3desc=The GUI type to filter the count (if GUI type is 0, there is no GUI type filtering) | ||
+ | |param3default=0 | ||
|returntype=int | |returntype=int | ||
|returndesc=Returns TRUE if oCreature meets the prerequisites for nAbility | |returndesc=Returns TRUE if oCreature meets the prerequisites for nAbility |
Latest revision as of 19:46, 25 February 2010
Gives the number of abilities a creature has of a specified type and GUI type
- 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