⁉️

UI Question Multiple

Displays a UI dialog with a multiple-choice question (MCQ). Multiple answer variants can be chosen.

image
image

Behavior

ℹ️
This node is part of the UI Question nodes.

These nodes have similar parameters:

image
Question node parameters
Question node parameters

Refresh: forces outs and option names refresh, press it if you changed option names.

Question: the text that will show in question window.

Options: text options that will be shown to user.

Unique Outs For Each Options: if checked, will create outs for every selected answer, may work differently on some nodes.

Answers: list of answers with correct ones checked. Can be set in parameters or as a flow bool value.

Flow Behavior

Out is called immediately as soon In is called.

Break stops the node execution and hides the window. Does not call anything else. No need to call it after submit was clicked - node stops automatically.

Correct Answer: called after user clicks on submit and the answer is correct (specific node types can have different definitions of “Correct”).

Wrong Answer: called after user clicks on submit and the answer is wrong

Unique Options List: called when specific option was selected on submit.

All of the selected answers will be called immediately. Be aware of that when trying to add some voice lines on selection, since they will overwrite each other. It is recommended for toggle Question Node to use unique outs only if you need to change behavior of the simulation somehow based on user choices. Try to avoid giving user any kind of feedback here.

Usages

This node allows selection of any amount of options. Use it when there is one or more answers that are correct and need to be selected at the same time

States

Busy when dialog is showing, normal otherwise.

busy node
busy node

Only one question of any type can be active at the same time. If you try to run another without stopping the previous one, this error will show up:

image

and the node will enter error state like this:

image

Notes