Get Equal String

Hello, I’m currently working on a system to read the language the player has selected. I have a ‘language’ variable set when the player makes their choice. My data table contains a column of dialogue for each language. I feel like there must be a more efficient way of checking language than with the waterfall of branches I have here. Any advice would be greatly appreciated :slight_smile:

How is the player making their choice? Is it a combobox? Radio button? Do they enter the language into an input box?

What does your data table look like?

Enum (Language) → Switch on Language ???