How do I…
I am attempting to use the ‘return’ key to launch dialogue (it is hidden at the beginning of the scene), but also use the same key ‘return’ to advance this dialogue. Does anyone know how I can build this? I haven’t been able to find an answer to it yet.
What is the expected result
Use ‘return’ key to launch dialogue and advance it.
What is the actual result
As I am a beginner, I just have no idea how to do it, I’ve read that this can potentially be achieved with variables? Has anyone successfully done this before?
Related screenshots
Project files (optional)
UPDATE:
I’ve gotten it to work but for some reason when the player releases the ‘return’ key it launches the dialogue but starts at line 2 instead of 1. Does anyone know where I can correct this?
Another update (recording this for anyone who might want to use the same method in the future):
I’ve gotten it to work! I had user Shrednector on the discord point out to me that I needed to implement a trigger once on the A key pressed action.
After this it was incorrectly starting at line 2 instead of line 0, but I fixed this by positioning the global variant add 1 to the very top.
Hey short stacks, welcome to the community!
Sorry that no one was on to help with your post, happy you got it to work though!
I changed your post title to include [SOLVED] so others know you have found an answer to your problem!
Welcome to the GDevelop Forum! 
1 Like