Forum rules - please read before posting.

Is it possible to prompt the user to type in their dialog response?

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

  • Perhaps.  The "Input" menu element type isn't a parser, and more intended for things like entering your name.  You'll have to check the entered text against all possibilites - it wouldn't be automatic.

    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.
  • Thanks!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.