Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Good evening,
I will start making the dialogues for my NPCs, and I would like to use the 'response' function in order to be able to propose several responses to the player, only I don’t understand how to use it. If someone has an idea.

I did a test on a blacksmith NPC to try to display the available answers but in the game there is nothing, and I don’t know how to do it.
the .txt :

[dialog]
topic=Talk
her=take response 1
response=test response 1 a
text=take response 2
response=test response 1 b

[dialog]
topic=Talk 2
her=take response 3
response_only=true
response=test response 2 a
her=take response 4
response=test response 2 b
her=take response 5
response=test response 2 c
set_status=access_to_the_forge

[dialog]
topic=tp forge
requires_status=access_to_the_forge

You must be logged in to vote

Replies: 1 comment

Comment options

The response property is supposed to reference a dialog node by id. response_only is used on the response dialog node itself to prevent it from showing up among other dialog topics. Here's an example:

[dialog]
topic=Talk
response=test_response_1
response=test_response_2
her=Choose a response

[dialog]
id=test_response_1
topic=Test Response 1
response_only=true
her=You selected response #1

[dialog]
id=test_response_2
topic=Test Response 2
response_only=true
her=You selected response #2
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.