gameusersettings or custom config file?
i want players to be able to set some local variables and store them in a file using blueprints, this variables are later meant to be used in blueprints, my question is what is the best way to do this? show i add my variables to the gameusersettings.ini file? how do i accomplish this? or should i write a new file and store my variables there?
an example would be if the player should automatically reload after it runs out of ammo, this would be a simple bool that i want to be persistent
asked Aug 27 '18 at 01:24 AM in Blueprint Scripting
I usually store stuff like that using a GameSave object, naming the save file something like "Preferences" with the Create Game Save, Same Game to Slot, and Load Game from Slot nodes, using my own GameSave cladd that hass the variables I want to store.
answered Dec 07 '18 at 02:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here