Hi,
Currently i'am trying to script a simple dialogue tree. I know there is an example for dialogues using hash tables and text files but i want so write it down from scratch to understand the machanics.
Basically it should be simple, but i can't get it to work, maybe someone of you can give me a hint what i'am doing wrong.
Its starts with a simple message, the player can choose between two options (Yes/No). If the player klicks on the yes button i change a private variable of the button to 1(lets name it ChoiceA) and displays a second message, again with two options.
The "Yes" button is now set to ChoiceA=1. I include a condition to check if ChoiceA equals 1, and if this condition is true and the "Yes" button is clicked again, a third message should appear.
But my problem is, that if i click on the Button during the first message, the programm jumps automatically to the third message. So the second message never got displayed.
Anyone of you have a idea what i'am doing wrong?