Removing a script from the player after a save game ?

Post » Wed Jun 20, 2012 11:40 pm

In my mod I'm carefuly avoiding to create any kind of effect that modifies player statuses, such as ModAV, so that when the mod is unistalled I can make sure no permanent changes will be able to stuck on the player.

However, I'm still using some scripts attached to the player that use OnHit and OnUpdate events, for example doing some calculations to control the effect duration, or making the caster lose magicka every few seconds through DamageAV, or casting a spell from the script.

I know when my mod is unistalled these scripts will be suddenly removed, and according to the CK webpage "oddities may result" when you remove a script from the player after a save game. In this case, doing something during OnHit and OnUpdate seems less harmless than playing with ModAV, since nothing will be stuck if the script simply stop working. But I'm still no sure what exactly "oddities may result" can mean.

So, my question is: From your guys experience, can scripts using OnHit and OnUpdate cause serious issues (freezing the game, quiting to desktop, etc) when removed from an object after a save game? Or will they simply stop working?
User avatar
Mason Nevitt
 
Posts: 3346
Joined: Fri May 11, 2007 8:49 pm

Return to V - Skyrim