Slider value does not save its position after exiting menu
I have a bunch of sliders for graphics/sound settings. I can click and drag to change the value and it changes accordingly but once I exit the menu and open it back up the sliders just go back to their default values.
I have a variable that should store the value that comes out of the 'on value changed' event and that's binded to the value under appearance in the slider settings. This doesn't seem to do anything.
The only way I can get the slider to remember the value is to have the variable that stores it on my character blueprint. Does it not remember the value after I remove it from parent? Should I store these values in game state or something so that the sliders remember them?
asked Jul 29 '15 at 12:20 AM in Blueprint Scripting
I can get it to work if I bind its value to a variable that isnt stored in that widget. Here is an example of it working by binding it to a variable in the player controller. The same thing works if its in gamestate.]
A combobox doesnt have many bind options so I can't bind the last selected thing like I can with the slider and the "set selected option" on it doesnt seem to do anything. It defaults to low every time I open the options menu.
answered Jul 30 '15 at 11:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here