How save showing items in UMG ???

Hello UE4 Community !!

Before starting, sorry if there is little mistakes in my thread :wink: my english is not very good :frowning:

So. I have a working menu in UE4 create with UMG (Unreal Motion Graphics UI Designer) and blueprint. I have create working graphics settings and i want that the player who choose graphics know what he have choosed. So i have found an idea, when the player click on graphics settings, an indicator appear on the bottom. Look this picture if u don’t understand :

bc64881d5fe4cc0507f0413a5071c5af5022ace1.jpeg

So, when the player ( client ) choose “Haut” ( = Hight → in french ) an indicator ( red for the example )appear on the bottom. BUT when he have choose all parameters and he have left the menu for play the game the settings are saved but not the indicators ( i don’t know how to ) AND i want make a program who saved all indicators “Visible” when he click on the button “Retour” ( =Return → in french) and after, set visibility to “Hidden”.

I don’t know how i can do this, i hope that someone could help me :slight_smile:

Thanks a lot,

Gaby !

You need to save these choices somewhere (In .ini, .txt, save file) after player made them, and then, after this option menu opens again, load all the saved info from saved file(if it’s exist), it’s not that hard, really, with VictoryPlugin by Rama you can save it to txt, for quick debugging, but it’ll be best to use Unreal Engine 4 native save system, I think it will work like a charm for it.

Best of luck.

Ok thanks for ur quick replie !

I’m new to blueprints so can u explain a little more ?
But ur idea is very good !)
I have already the VictoryPlugin by Rama for my keybinding menu :slight_smile:

Again thanks,

Gaby

I have find a way more simply but i don’t know how i can do this in blueprint :frowning:

For the graphics settings, i have take a super simple way : When the player click on a button, a console command is executed. Console commands looks like this :


r.ViewDistanceScale 0.7

To access to the graphics settings I have a “submenu” check this image :

68e7654c7b0c096bc69e72ef621a71e89b38a83d.jpeg

“Option Graphique” = Graphics Options in french.

So, when the player click on this button, i need that the blueprint script check if ( for example )


r.ViewDistanceScale

is on 0.7 and if it’s true, set the visibility of the “border” ( on the first post, the colored lines ) on true.

doon’t know if it’s possible in blueprint,

Thanks a lot,

Gaby

Someone get an idea ?

One good tutorial with save system is here:

Im sure it will help you.