Difference between revisions of "Ability DoRunSpellScript"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating links)
m
 
Line 17: Line 17:
 
|returndesc = [[COMMAND_RESULT_*]] constant if event is [[EVENT_TYPE_SPELLSCRIPT_PENDING]]
 
|returndesc = [[COMMAND_RESULT_*]] constant if event is [[EVENT_TYPE_SPELLSCRIPT_PENDING]]
 
|sourcefile = ability_h
 
|sourcefile = ability_h
|sourcemodule = Core Resources
+
|sourcemodule = Core Game Resources
 
}}
 
}}
  

Latest revision as of 20:41, 3 August 2011

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