How can i create an option menu with comboboxes?

my computer is not here, so i can’t just send you a printscreen, but i’ll try to explain, first i need a input (text/string) and an output (int) in my specific case, the options are “Low” “Medium” “High” and “Epic”, i just created a local int variable and used branchs to compare, if the input = “Low” set this local variable to 0, if =“Medium” set to 1, if =“High” set to 2 and if =“Epic” set to 3 and then return this variable in the return node, i’m pretty sure there’s a better way of doing this, maybe using enums, but that was what i could think at the moment.