Ability IsAbilityActive

From Dragon Age Toolset Wiki
Revision as of 01:41, 25 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = Ability_IsAbilityActive |brief = Checks if a specific ability is active on an object |param1type = object |param1name = oObject |param1desc = the object we a...')

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

Checks if a specific ability is active on an object

int Ability_IsAbilityActive(
object oObject,
int nAbilityID
);
Parameters:
oObject
the object we are checking for the ability
nAbilityID
the ability we check if is active
Returns:

TRUE if the ability is active, FALSE otherwise

Source:

Core Resources.ability_h

Description

The check includes modal abilities and any other abilities with a duration (all buffs and de-buffs)