I've spend two days trying to figure this out and it's driving me crazy. My logic skills are poor, as you will see by my screenshot below.
Goal: To have one string of text (Currently stored as a global var) be typewritten on the screen. Then, when the string has finished, pause 3 seconds and go to the next line of dialogue. This is basically simulating those old RPGs where character dialogue would scroll until it filled the panel etc.
Now, I have read the guides posted in the FAQ, which work very well, but only for one line of dialogue. I need to be able to jump to the next string, which is what I'm having trouble implementing, and my brain is failing me.
Here is a screenshot of my failed logic:
The issue is to do with loops and the variables I use to keep track of when to jump to the next speaker. After going through the first line of text successfully, the speaker variable just keeps getting bigger and bigger, not staying at the second speaker. I've made a real mess of things and I'm not sure how to fix it despite starting over three times. About to give up on it, but I'd like to see if it's possible. I've tried going through a whole bunch of the examples on the forums that have been linked in the past, but I don't see a good way to implement exactly what I'm after (other than buying a plugin).
Link to my horrible program:
Any light shed would be greatly appreciated. Thanks very much.