Posted: Wed Apr 13, 2016 8:37 pm Post subject: Saving settings of CE trainer in separate files?
Is it possible to save settings, such as checkbox selection, numbers in editbox, in separate files and load them when needed? For example, separate txt files for different settings?
Sure. Just get all the data using the respective class functions (e.g. checkbox.Checked) and save the data to a file. I'm not experienced with file management in Lua, but from looking through main.lua you should be able to use the Strings class to do it. Also it seems like Lua has its own built in file IO library. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum