Difference between revisions of "Casting Spells From An Activator"

no edit summary
imported>Tegid
(Fixed problem. FlippySource replaced by Activator source. In the future such comments should be on the Discussion Page)
imported>Decoup
Line 54: Line 54:
===The Self Spell Script===
===The Self Spell Script===
This script uses [[PlaceAtMe]] to create an activator and then uses that activator to [[Cast]] the AOE spell.
This script uses [[PlaceAtMe]] to create an activator and then uses that activator to [[Cast]] the AOE spell.
Set the <b>Script Type</b> to <b>Magic Effect</b>


<pre>
<pre>
Line 84: Line 86:
===The Area of Effect Spell Script===
===The Area of Effect Spell Script===
This script will be run on every actor that is hit by the TutCallLightningAoeSpell. This script will then create an activator using PlaceAtMe and use it to cast a lightning bolt at the affected actor. (Remember: This happens for each actor hit!)
This script will be run on every actor that is hit by the TutCallLightningAoeSpell. This script will then create an activator using PlaceAtMe and use it to cast a lightning bolt at the affected actor. (Remember: This happens for each actor hit!)
Set the <b>Script Type</b> to <b>Magic Effect</b>


<pre>scriptname TutCallLightningAoeSpellScript
<pre>scriptname TutCallLightningAoeSpellScript
Anonymous user