Difference between revisions of "Casting Spells From An Activator"

Fixed problem. FlippySource replaced by Activator source. In the future such comments should be on the Discussion Page
imported>Decoup
imported>Tegid
(Fixed problem. FlippySource replaced by Activator source. In the future such comments should be on the Discussion Page)
Line 2: Line 2:


This is a short tutorial on how to use activators to cast spells. This will allow you to create more complicated spell effects such as lightning strikes or point blank area of effect spells.
This is a short tutorial on how to use activators to cast spells. This will allow you to create more complicated spell effects such as lightning strikes or point blank area of effect spells.
<HR><BR><b>NOTE: THIS TUTORIAL DOES NOT WORK. LINE 13 OF THE SECOND SCRIPT DOES NOT COMPILE.<br><br>set source to me.PlaceAtMe FlippySource, 1, 0, 0<br><br>THE REASON IS FOR THE REFERENCE TO <i>FlippySource</i> WHICH IS NOT PART OF THE TUTORIAL OR OBLIVION. PLEASE WAIT FOR AN UPDATE TO THIS PAGE BEFORE ATTEMPTING THE TUTORIAL.<br><br>IF ANYONE KNOWS THE EMAIL OF THE CREATOR OF THIS TUTORIAL (MrFlippy) PLEASE ASK HIM TO FIX IT AND REMOVE THIS MESSAGE AS THIS IS AN INTERESTING CONCEPT. --Decoup</B><br><HR>


By the end of this tutorial you should have a working point blank AoE lightning strike spell.
By the end of this tutorial you should have a working point blank AoE lightning strike spell.
Line 99: Line 97:


;place an instance of the source activator that we created earlier
;place an instance of the source activator that we created earlier
set source to me.PlaceAtMe FlippySource, 1, 0, 0
set source to me.PlaceAtMe ActivatorSource, 1, 0, 0


;add 1000 to the height so it looks like the lightning is coming from the sky
;add 1000 to the height so it looks like the lightning is coming from the sky
Anonymous user