Difference between revisions of "Casting Spells From An Activator"
no edit summary
imported>Haama (→The Area of Effect Spell Script: Set source) |
imported>Darkness X |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{FeatNom}} | {{FeatNom}} | ||
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.[[Image:CallLightning01.jpg|thumb|200px|The script you will be creating]] | ||
[[Image:CallLightning03.jpg|thumb|200px|Another view]] | |||
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. | ||
[[ | ==What you need== {{Tools|req0=[[The Elder Scrolls Construction Set|Construction Set]]|opt0=[[OBSE]]}} | ||
[[ | |||
During this tutorial we will be creating the following: | During this tutorial we will be creating the following: | ||
*1 activator object | *1 activator object | ||
Line 141: | Line 139: | ||
==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> | ||
... | ... |