Ok I’ve been doing some work on this.
Currently as it cycles through each iteration it changes the variable pretty much instantly to the next, so it just go straight to the end of the story in a matter of seconds.
I need the counting to pause while the text to speech is speaking. Then once the speaking is done for that sentence, it needs to change the variable +1 and continue.
But I can’t get it to pause while it’s speaking is the new problem.
Thanks for the tip with the list though, that seems to be the right direction to go.
Edit: I also thought about building in a timer, but there’s no way to be sure that each paragraph or sentence will always take the same amount of time to speak out loud.