For example, you set up your Dialog structure like usual:
NPC: "Hello there!"
You:
a) "Hi"
b) "Leave me alone"
c) "Goodbye"
d) [Invalid]
Instead of selecting one of the three options (a, b, c), you're prompted with an input text box. If you type the exact string in a, b or c, it will initiate the dialog branch exactly as intended. If your inputted string does not match any of those three, it activates the fourth branch (d).
So it goes:
NPC: "Hello there!"
You: [Input text box]
If [Input text box String] = String of Option A
then
Start next dialog branch for Option A
If [Input text box String] = String of Option B
then
Start next dialog branch for Option B
If [Input text box String] = String of Option C
then
Start next dialog branch for Option C
If [Input text box String] ≠ String of Option A, B, or C
then
Start next dialog branch for Option D
Thanks!
Comments
First, you'd have to make your Conversation menu non-interactive by checking "Ignore cursor clicks" in it's properties box. Then create a new Input box menu (follow this tutorial) and have it appear at the same time as your conversation begins.
You'll then have to create an actionlist / cutscene that reads the entered value, and checks it against each dialogue option.