Difference between revisions of "Ability DoRunSpellScript"
From Dragon Age Toolset Wiki
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...') |
m (Updating links) |
||
Line 8: | Line 8: | ||
|param2type = int | |param2type = int | ||
|param2name = nAbility | |param2name = nAbility | ||
− | |param2desc = The ability ID ([[ | + | |param2desc = The ability ID ([[ABILITY_*]]) |
|param2default = | |param2default = | ||
|param3type = int | |param3type = int | ||
Line 15: | Line 15: | ||
|param3default = | |param3default = | ||
|returntype = int | |returntype = int | ||
− | |returndesc = [[ | + | |returndesc = [[COMMAND_RESULT_*]] constant if event is [[EVENT_TYPE_SPELLSCRIPT_PENDING]] |
|sourcefile = ability_h | |sourcefile = ability_h | ||
|sourcemodule = Core Resources | |sourcemodule = Core Resources |
Revision as of 13:05, 3 August 2011
Handles running an ability spellscript listed in the prop
- 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 Resources.ability_h