I know I haven't even done much here, but I can already see that something's wrong. So please advise me how I can make it better and clearer, because I have a complete mess.
In general, I do something like a game mode where you need to get as much information as possible in a limited amount of time, well, it's optional. Given a choice of 5 characters where with each you can have a short dialog (question - answer). after the dialog again rolls back to the choice, but if you choose the same character several times questions and answers will be different each time (4 different dialogs for each). While I was trying to make and figure it out myself I got confused. New questions I decided to change through switches and if\else, but after the first rollback to the beginning of the selection, when I chose the same person I chose before, all dialogs began to play in turn.
I'll attach a screenshot of the event, but I'll tell you right away, it is not finished and I can't change the engine's language from Russian to English, sorry.
(comments are used temporarily for personal comfort and to separate some parts of the event to not get lost. When the work is completed, I remove them)

In general, I do something like a game mode where you need to get as much information as possible in a limited amount of time, well, it's optional. Given a choice of 5 characters where with each you can have a short dialog (question - answer). after the dialog again rolls back to the choice, but if you choose the same character several times questions and answers will be different each time (4 different dialogs for each). While I was trying to make and figure it out myself I got confused. New questions I decided to change through switches and if\else, but after the first rollback to the beginning of the selection, when I chose the same person I chose before, all dialogs began to play in turn.
I'll attach a screenshot of the event, but I'll tell you right away, it is not finished and I can't change the engine's language from Russian to English, sorry.
(comments are used temporarily for personal comfort and to separate some parts of the event to not get lost. When the work is completed, I remove them)