X2RunUserDefinedSpellScript
From NWN Lexicon
Contents |
[edit] X2RunUserDefinedSpellScript()
Runs a custom spellhook script if defined.
[edit] Description
This is just subroutine function for X2PreSpellCastCode .
It runs a custom spellhook script, if defined, and then returns a value depending on that script.
[edit] Remarks
To define custom spellhook script, use either SetModuleOverrideSpellscript in OnModuleLoad event, or go to module properties, and put there string variable X2_S_UD_SPELLSCRIPT manually.
[edit] Requirements
#include " x2_inc_spellhook "
[edit] Version
???
[edit] See Also
functions: |
author: ShaDoOoW, editor: Mistress, Kookoo