I’m setting up an options menu and I’m trying to make a selector that cycles through options when you click the left or right buttons.
I want to be able to select an Enum or equivalent from the dropdown so that I can pull the correct data.
Currently I have Difficulty (Easy,Normal, Hard) and TextLanguage (Eng, Fr, Ita, Ger, Span)
I could of course do this with a series of switches but that would be tiresome and require alot of edits in the future if I want to change something. I’m currently using this to just change the preview and ofcourse it will only pull the default value, anyone done something like this before mind showing a better way?
Thanks that’s great but I don’t think it’s quite what I need as it will only work for one category.
Basically when I choose the option I want it to pull data from a separate list and each option will have a separate list that is pre built so no changes during runtime.
All these below and more I want to nest within the widget so that you can select the Enum and then populate the tab with only these options
E_Language
English
French
etc
Something kinda like this, I’m using an empty Byte and setting it based on the other Enum, it does return the correct index but unfortunately it doesn’t return the text only the index.
Here’s what’s inside the Add to Selection List function in case anyone wants to do something similar. The UpdateSelectionText just updates the text, nothing fancy