Difference between revisions of "MessageBox Tutorial/Spell Scripts"
Jump to navigation
Jump to search
MessageBox Tutorial/Spell Scripts (edit)
Revision as of 07:28, 30 August 2007
, 07:28, 30 August 2007updating notes/script
imported>ShadowDancer (updating script) |
imported>ShadowDancer (updating notes/script) |
||
Line 46: | Line 46: | ||
StopMagicShaderVisuals ;place effect shader Editor ID here i.e. effectEnchantMysticism | StopMagicShaderVisuals ;place effect shader Editor ID here i.e. effectEnchantMysticism | ||
Set Timer to 0 | Set Timer to 0 | ||
TargetRef.Dispel Spell | |||
EndIf | EndIf | ||
Line 105: | Line 105: | ||
* The [[ScriptEffectFinish]] block will always run immediately after the last running of the [[ScriptEffectUpdate]] block. Due to this, if the '''ScriptEffectUpdate''' block has a '''Return''' statement that fires at this point of the script, the '''ScriptEffectFinish''' block will not run. | * The [[ScriptEffectFinish]] block will always run immediately after the last running of the [[ScriptEffectUpdate]] block. Due to this, if the '''ScriptEffectUpdate''' block has a '''Return''' statement that fires at this point of the script, the '''ScriptEffectFinish''' block will not run. | ||
* Spell using the script must have a '''Range''' of ''Self'' | * Spell using the script must have a '''Range''' of ''Self'' | ||
* ''Spell'' in the above script (TargetRef.Cast ''Spell'' TargetRef) must be replaced with '''Editor ID''' of the Spell using the script | * ''Spell'' in the above script (TargetRef.Cast ''Spell'' TargetRef '''and''' TargetRef.Dispel ''Spell'') must be replaced with '''Editor ID''' of the Spell using the script |