Ability IsAbilityActive

From Dragon Age Toolset Wiki
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)