First off, hi! I'm new here. I've been futzing around with Construct 3, working on my first small game for a game jam...as part of that, I'm trying to do a very short cutscene at the start of the game that would be like 4 or 5 lines of dialogue. The goal is to have the player press space to progress to the next line.
Because of the relative simplicity of it, I was trying to find a way to do this with conditions versus using an array...I set a condition of "when space has been pressed AND global variable is equal to number" and then set typewriter text and set the variable to the next highest number and make that a condition for the next line of dialogue, rinse and repeat.
What happens on playing is that it runs the first line of dialogue (before the instance variables kick in) and then when I hit space, the instance variable jumps up by 3 or 4 and fires the last dialogue in the list, skipping over the ones in between.
Here's a screenshot of the conditions event sheet:
From what I've read, the actions should fire sequentially, right? I was wondering if maybe the first press of the space button was simultaneously plowing through the other "set line to 1, set line to 2" actions, but that doesn't seem right.
Knowing this method probably only works for really narrow cases like this and that I'll need to learn a more robust dialogue system going forward, any idea why this doesn't work? Thank you in advance!