Dynamically Attaching Scripts: Difference between revisions

Jump to navigation Jump to search
→‎Create the Spell: fixed the conditions
imported>Fg109
(added a known issues section)
imported>Fg109
(→‎Create the Spell: fixed the conditions)
Line 87: Line 87:
EndEvent</source>
EndEvent</source>


Remember to set the value of the 'MonitorAbility' to the '''MonitorAbility''' that we created earlier.  Click OK to close the magic effect window.
Remember to set the value of the 'MonitorAbility' to the '''MonitorAbility''' that we created earlier.


Go back to the spell we just created, and add this new magic effect to its effects list.  The magnitude and duration can be left at 0, but this time we need to add a [[:Category:Conditions|condition]].  The condition is:
We also need to add a [[:Category:Conditions|condition]] to the magic effect.  Right click the '''Target Conditions''' in the upper right corner of the [[http://www.creationkit.com/Magic_Effect|'''Magic Effect''']] window and select 'New'.  The condition is:


  [[HasMagicEffect]] MagicEffect: 'MonitorEffect' == 0
  [[HasMagicEffect]] MagicEffect: 'MonitorEffect' == 0
Line 96: Line 96:


  [[GetDead]] NONE == 0
  [[GetDead]] NONE == 0
Click OK to close the magic effect window.  Then open up the spell we created and add the magic effect we just created to its effects list.  Magnitude and duration can be left at 0.


Hereafter we will refer to this spell as '''ApplyingSpell''' and the magic effect as '''ApplyingEffect'''.
Hereafter we will refer to this spell as '''ApplyingSpell''' and the magic effect as '''ApplyingEffect'''.
Anonymous user

Navigation menu