Difference between revisions of "Casting Spells From An Activator"

→‎Caveats: adding a location for the caveat code
imported>Haama
imported>Qazaaq
(→‎Caveats: adding a location for the caveat code)
Line 141: Line 141:


==Caveats==
==Caveats==
*This spell will hit the player as well as everyone around him. This may or may not be what you want. A simple if check in the TutCallLightningAoeSpellScript will prevent the spell from hitting the player:
*This spell will hit the player as well as everyone around him. This may or may not be what you want. A simple if check directly below the <tt>'''Begin ScriptEffectStart'''</tt> line in the TutCallLightningAoeSpellScript will prevent the spell from hitting the player:
<pre>
<pre>
...
...
Anonymous user