Difference between revisions of "Ability GetAbilityTable"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = Ability_GetAbilityTable |brief = Returns the TABLE* constants for 2da lookups for a specific abiltiy |param1type = int |param1name = nAbilityType |param1...')
 
(No difference)

Latest revision as of 22:58, 24 February 2010

Returns the TABLE* constants for 2da lookups for a specific abiltiy

int Ability_GetAbilityTable(
int nAbilityType
);
Parameters:
nAbilityType
ABILITY_TYPE* constant
Returns:

TABLE* constant

Source:

Core Resources.ability_h


Talents, Spells, Skills and Items use different 2das, even tho they have the same structure. This function returns the constant for use with the GetM2DA* functions.