Ability DoRunSpellScript

From Dragon Age Toolset Wiki
Revision as of 01:03, 25 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = Ability_DoRunSpellScript |brief = Handles running an ability spellscript listed in the prop |param1type = event |param1name = ev |param1desc = The event to m...')

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

Handles running an ability spellscript listed in the prop

int Ability_DoRunSpellScript(
event ev,
int nAbility,
int nAbilityType
);
Parameters:
ev
The event to message to the spellscript
nAbility
The ability ID (ABILITY*)
nAbilityType
The type of the ability
Returns:

COMMAND_RESULT* constant if event is EventSpellScriptPending

Source:

Core Resources.ability_h