Ability DoRunSpellScript

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