0 votes

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.

Scenario 1

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.

Scenario 2

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.

DialogueBox

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..)

asked Jun 10 in Engine by Hikunou (12 points)

Your images don't work. Also if you followed a tutorial, it's usually a good idea (and fair to the creator of said tutorial) to link it here. Have you written any code already? How does your scene-tree look like?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.