Difference between revisions of "Casting Spells From An Activator"

m
imported>Nixlplix
imported>Nixlplix
Line 153: Line 153:
*You could force the target into combat using [[StartCombat]] in TutCallLightningAoeSpellScript, but there are still some problems with that as well.
*You could force the target into combat using [[StartCombat]] in TutCallLightningAoeSpellScript, but there are still some problems with that as well.


*Another solution to this problem is to only allow the spell to effect current enemys of the player.
*Another solution to this problem is to only allow the spell to effect current enemies of the player.
This code can be added directly below the avoid hitting player code in TutCallLightningAoeSpellScript.
This code can be added directly below the avoid hitting player code in TutCallLightningAoeSpellScript.
<pre>
<pre>
Anonymous user