Ability DoRunSpellScript

From Dragon Age Toolset Wiki
Revision as of 19:41, 3 August 2011 by Sunjammer (Talk | contribs)

(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 EVENT_TYPE_SPELLSCRIPT_PENDING

Source:

Core Game Resources.ability_h