Save Settings with selected buttons

Hello all,

How i can make a system for save settings with apply button and loading settings at startup.

The choice of parameters is based on selectable buttons.
So, how i can make a save/load system with selectable buttons please ?

Thank you in advance.

Here is a demo of creating a save game slot: How to Save and Load your Game In Unreal Engine 5 (Easy) - YouTube

You will have to use your states of the buttons (eg a boolean active/inactive variable) as the items to be saved and when you load your save game slot, you will then have to apply this saved state to your buttons.

In the above example they did everything in the third person character, but you can also do this in another actor or game instance etc.

If you need more info reach out.

Here is a demo. I have a widget that I can load/save the checkbox states. Pressing Save button will save.

On creation of the widget I do the following that just needs to occur (see previous video). I created 2 functions that load and save the content and also react to the Save button being pressed.

This is how to grab the data to save:

This is the load (only showing 1 option set)

This is the contents of the SaveGame actor (called BP_Save in my demo):

image

2 Likes

Sorry, I didn’t come earlier because i thought my message had not been sent.

Thank you for your tips.
Have a good day !