Ability DeactivateModalAbility

From Dragon Age Toolset Wiki
Revision as of 01:10, 25 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = Ability_DeactivateModalAbility |brief = Deactivates a modal ability |param1type = object |param1name = oCaster |param1desc = The creature to deactivate the a...')

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

Deactivates a modal ability

int Ability_DeactivateModalAbility(
object oCaster,
int nAbility,
int nAbilityType = ABILITY_TYPE_INVALID
);
Parameters:
oCaster
The creature to deactivate the ability on
nAbility
the modal ability to deactivate
nAbilityType
the ability type of the modal ability
Returns:

TRUE if the ability was terminated successfully

Source:

Core Resources.ability_h

Description

Runs the spellscript for an ability with the EVENT TYPE SPELLSCRIPT DEACTIVATE event