Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F key button working differently for NPC dialogues #2952

Closed
LocoCZ opened this issue Dec 14, 2021 · 8 comments
Closed

F key button working differently for NPC dialogues #2952

LocoCZ opened this issue Dec 14, 2021 · 8 comments

Comments

@LocoCZ
Copy link

LocoCZ commented Dec 14, 2021

If you connect a dialogue to a response that has 1 message and 1 response (but the response will stay hidden under a condition that will never be given), you're able to read the message and when you click F, you'll get redirected back to the main dialogue. Why does this not work for the main dialogue? Why if Start Dialogue has only 1 message and 1 (hidden) response won't give you an option to click the F button and leave the dialogue completely in this case? (You can still close it with the F button, but it doesn't give you the option inside of the dialogue)

If you’ll need to see the videos, I’ll post them in the comments.

@SDGNelson
Copy link
Member

Marking next update so that I remember to sort this out, but it will actually be the next-next update.

@SDGNelson
Copy link
Member

If I understand correctly: you have the main dialogue for the NPC configured with a permanently hidden response? Why?

And is the bug simply that the Interact prompt is not shown for the main dialogue when there are no responses?

@LocoCZ
Copy link
Author

LocoCZ commented Jan 4, 2022

Why?

Let's say you've got an NPC that wants to tell you something but you shouldn't answer them. Just some random message and what I wanted to achieve is that small F box at the bottom right corner which will show the player to leave.

If there is 1 message and 0 responses, it adds a 'Goodbye' response on it's own.
If there is 1 message and 1 response with flag the player doesn't have, it still adds that 'Goodbye' response.

145885621-3ff131c3-f764-4082-88b4-4e47303ff2e6.mp4

If there is a dialogue connected to main dialogue with 1 message and 1 response with flag the player doesn't have, it shows that [F] button and when you click on it, it brings you back.

145885951-026edfaa-4527-4a9b-83c9-351bb5a72f40.mp4

What would be nice is if you had [F] shown at the bottom right corner instead of a 'Goodbye' response that was added randomly on its own for the start dialogue.

@SDGNelson
Copy link
Member

Note the goodbye response is not added randomly, rather it is added if an exit response was not defined. I suppose the map-wide default goodbye could be made customizable if you want something other than "Goodbye"?

@LocoCZ
Copy link
Author

LocoCZ commented Jan 5, 2022

Yeah I'm sorry, random was wrongly used.

If an exit response isn't defined, why not make the [F] button in the bottom right corner instead of a new response? It's already working when an exit response isn't defined if that dialogue is connected to another one.

Couldn't it be same for Start Dialogue - but in this case [F] would leave the dialogue?

@SDGNelson
Copy link
Member

That makes me wonder if it would make more sense to include [F] in the "Goodbye" text and/or response option. 🤔

@LocoCZ
Copy link
Author

LocoCZ commented Jan 7, 2022

Yeah that would be nice.

What would also be nice is if you could add an option (that you mentioned) to edit that goodbye response - as I have all of my text within NPCs white and this is the only response that would be grey.

@SDGNelson
Copy link
Member

Added in the next update: "DefaultGoodbyeResponse" per-level override for NPC dialogue in level's translation file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants