GetAbilityList

From Dragon Age Toolset Wiki
Revision as of 13:39, 26 March 2012 by Sunjammer (Talk | contribs) (Created)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns a list of ability IDs for non-item abilities active on the given creature.

int[] GetAbilityList(
object oCreature,
int nType = ABILITY_INVALID,
int bOnlyCoolingDown = FALSE
);
Parameters:
oCreature
the creature to query
nType
the type of ability to query for. ABILITY_INVALID returns all non-item abilities
bOnlyCoolingDown
return only abilities that are currently cooling down
Returns:

Returns a list of integer ability IDs.

Source:

script.ldf