Hey,
Just thought I'd add that you can get the index of a TMP dropdown selection with "Get Property."
Just drag the TMP component into a state, select "Get Property," and choose "value" as the property to get. It's at the bottom of the list.
This allows you to store the index as an int variable. It gives you 0 for the first option, 1 for the second, etc...