Any risk adding eventsproperties to a running script?

Post » Sat Sep 27, 2014 9:10 am

If a mod is a work in progress: is there any risk in adding events and properties/variables to a script that's already running? I know that if a mod has scripts running that have event handlers and the mod is yanked out of a save file, it can leave behind loose event handlers that clutter the save file.

Is there any similar risk for adding events and properties/variables? Should I stop the script, upgrade the mod, and then start it again instead?
User avatar
Jeneene Hunte
 
Posts: 3478
Joined: Mon Sep 11, 2006 3:18 pm

Post » Sat Sep 27, 2014 12:27 pm

Ideally, yes it would be nice to be able to stop the script before upgrading. That is where the advantage of RegisterForSingleUpdate versus RegisterForUpdate comes in. The former allows for a more graceful quieting of orphaned mods, whereas the latter will continue polling forever.

Nonetheless, so long as you are not removing things, there really seems to be pretty low risk to adding new events/variables/properties/functions to existing scripts. I do it often and haven't observed issues.

(Others may be able to correct me here if they have better wisdom on the topic. I'm all ears.)
User avatar
Jade Payton
 
Posts: 3417
Joined: Mon Sep 11, 2006 1:01 pm

Post » Sat Sep 27, 2014 2:56 am

Fortunately, there's a http://www.creationkit.com/Save_File_Notes_(Papyrus) that should answer all your questions :wink:
User avatar
sunny lovett
 
Posts: 3388
Joined: Thu Dec 07, 2006 4:59 am


Return to V - Skyrim