How embarrassing of me posting my first ever question and problem to the wrong category, so here it goes for the second time. I've been questioning this for a week and a half now and I can't seem to get my head around when my character interacts with an object and a dialogue pops up on the bottom of the screen. The Scenario is like this:
First the Player wakes up on his room and has to turn on the switch before proceeding to the next room.
Second would be to interact with the switch via Input.isactionjust_pressed and after that a dialogue would pop out and telling the player some stuff and later on choosing whether to turn the switch on or not before proceeding to lit up the room.
Here's my dialogue box that I followed from a youtuber, and after the player press the next key it will then show choices of the situation.
this is my second time to post a question I hope this is still considered and totally not spamming. Forgive me for my accident of posting the question to the wrong category.
Long story short, How do I implement a dialogue scene (With choices depending on the situation) whenever the player interacts with certain objects or npc?
Thank you in advance, from a beginner of GodotEngine as well as in coding.
p.s. (pls I can't progress because I have no knowledge of implementing a dialogue system..)