Difference between revisions of "Ability DoRunSpellScript"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(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...')
(No difference)

Revision as of 01:03, 25 February 2010

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