Hogg3491 Posted November 23, 2016 Share Posted November 23, 2016 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 More sharing options...
IsharaMeradin Posted November 23, 2016 Share Posted November 23, 2016 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 More sharing options...
Hogg3491 Posted November 23, 2016 Author Share Posted November 23, 2016 Thanks for your reply. I managed to get it working by tweaking some spell effect settings and modifying the magicPlaceActivatorScript to remove the old activator upon update and place a new one at the player's location. Link to comment Share on other sites More sharing options...
Caerulean Posted November 24, 2016 Share Posted November 24, 2016 ^ Wait, did you edit the vanilla magicPlaceActivatorScript? o.O Link to comment Share on other sites More sharing options...
Recommended Posts