Prompts the user to select from a pull-down list of possible answers, returning the selected string as a result.
0 |
String Ref List |
Question or Statement |
A list of one or more strings to concatenate together as a prompt to the user. |
1 |
String Ref List |
Possible Answers |
A list of possible answers for the pull-down list. |
2 |
Font Type |
Font |
The font to use. |
3 |
Step ID |
Step to jump to if Canceled (-1 will fail step on Cancel) |
The step to jump to if the user cancels or closes the dialog. |
4 |
String |
Answer |
The string selected by the user. |
5 |
Integer |
Answer Index |
The index of the selected String. |
SUCCESS |
The answer was accepted successfully. |
FAILURE |
The user clicked the Cancel or Close buttons and argument 3 was -1. |
A5 (answer index) was added in 2023.2 to aid in use with JSON files or other applications where duplicate strings may be selected but the index is essential to understanding the result.