Displays a UI dialog with a single-choice question (SCQ). Only one answer variant can be chosen.
Behavior
These nodes have similar 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.
The specific ouput is called when user submits the answer. If there are multiple correct answers, any of them will call their unique output first, and Correct Answer output right after.
Usages
Use this node when there is only one answer needed from user, even if there is multiple possible correct choices. This node is better suited to give feedback for specific selection choices
States
Busy when dialog is showing, normal otherwise.
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:
and the node will enter error state like this: