Jollypolly Posted February 22, 2020 Share Posted February 22, 2020 Hi,I Need to create a variable that is persistant through game saves and goes through quite a lot of functions,computations and fast RegisterForSingleUpdate() events. So is it safer and faster to use a CK global variable or a storageUtil variable that has to be written out and called back intensly? The only info I found comparing these two methods is that using a global variable makes it a lot easier to integrate to questlines, but nothing regarding speed, safety, efficiency.. Many thanks Link to comment Share on other sites More sharing options...
IsharaMeradin Posted February 23, 2020 Share Posted February 23, 2020 I would use the global variable simply because what you are wanting to do is one of the reasons that global variables exist. Plus it has the positive side effect of being easier to work with and does not require any third party utilities / mods to function properly. Link to comment Share on other sites More sharing options...
Jollypolly Posted February 23, 2020 Author Share Posted February 23, 2020 Thank you Ishara Link to comment Share on other sites More sharing options...
Recommended Posts