Difference between revisions of "Casting Spells From An Activator"
m
→Caveats
imported>Nixlplix m (→What you need) |
imported>Nixlplix m (→Caveats) |
||
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 | *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> |