Hoamaii Posted September 10, 2019 Share Posted September 10, 2019 Hi guys, Perhaps one of you can help me figure that one out: Working on a new mod (scripted custom animation), my mod started bugging like crazy all of a sudden, scripted functions which worked perfeclty before started executing completely wrong and variables (positions, scales, offsets, etc. All floats.) were just going crazy. No log errors though. After spending hours modifying and debugging my script to try and fix it with no success, I remembered that I had always been loading that mod for the first time on the same test save. So I decided to clean my (Win7) prefetch files just... well, in case... And sure enough, once my prefetch was cleaned, my new mod started working flawlessly again!.. I really don't get it, the new plugin had never been in that save before (loaded yes, but never saved), all onInit() events debugged as expected, default custom variables (MCM) debugged with their correct values, MCM config initialized as expected, and yet the game was behaving like it had baked in that save some completely screwed up variables... Can somebody please explain to me what these prefetch files do in relation to game loads and script variables? (I searched the forums for 'prefetch' and all I could find was a very old topic of mine... :confused:) Many thanks in advance!.. Link to comment Share on other sites More sharing options...
Recommended Posts