Jump to content

[LE] Magic Effect script help


Hogg3491

Recommended Posts

Hi, I'm pretty new to the CK and Papyrus and I'm wondering if I attach a script that extends ActiveMagicEffect to a spell at what point does the script activate? Is it just once when I initially cast a spell or does it continually update? So, if I have a script which places an activator at the player's location will I be able to keep getting the player's updated location and move the activator or will the activator just stay at the initial casting point?

 

Reason I ask is that I would like to create a version of Blizzard that is basically a frost cloak which follows the player but with Blizzard being a hazard I'm thinking I'll have to continually get the player's location every tick or something and update the acivator with the new info.

Link to comment
Share on other sites

Scripts that extend ActiveMagicEffect are added to effects. The effect is then added to the spell. As far as when the script activates, it depends upon what event(s) are in use on the script.

 

If you place an activator at the player's current location it will remain fixed in that location unless you move it in some way.

 

As far as achieving what you want, I am not sure how to do it.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...