Alias Refilling on Non-Clean saves and Quest Reset
Potential Problems:
- Your quest aliases are None when you load your mod on a non-clean save.
- Your quest aliases are None after resetting your quest or resetting your mod with an MCM option.
Given the following code:
Function ResetMod() self.Stop() self.Reset() self.Start()EndFunction
This seemed rather reasonable given the lack of documentation and the way software engineers think. Stop your shit, reset your shit, restart your shit. I lost so many hours on this. After Google searching and bitching on IRC for days I finally got the Creation Kit wiki to validate my email so I could post a discussion topic. Turns out people do actually watch and update the wiki, and TerraNova2 had a small footnote that proved to be a pointer for why all my quest aliases were turning up empty after running this code, instead of being refilled like I expected.
This is all I currently know about Reset(). Reset() will send a quest back to its Startup stage and clears all aliases. What Reset does not do is refill them, and start the quest. Also Reset() will not run when Stop() has been called before it. This is why your second function worked as expected.
However, it is worth noting that this is not a REASON why it fails to work as I expected, but a HINT into which direction to look. Start() and Stop() alone are enough to cause aliases to refill, it just won't reset the stages if you skip the Reset(). So Reset() not running after Stop() really should have been a moot point and I should have been chasing down a completely different bug: why are stages not resetting?
I think we all know though by now though that as great as Skyrim is, as beautiful as the game looks, yet still running on fairly old computers well - at the end of the day... Creation Engine is kind of fucked. So the solution... seriously... is this. Change up the order. If you been fighting this as long as I have, you are going to be so pissed.
Function ResetMod() self.Reset() self.Stop() self.Start()EndFunction
Bam. Stages reset. Aliases refilled. Fucking... bam.
4 Comments
Recommended Comments