text
text: (DialogueOption) -> stringThe option's text.
ui:dialogue():find(…)| Method | Returns | Description |
|---|---|---|
text() | string | The option's text. |
optionNumber() | number | Which numbered option this is, from 1. |
click() | boolean | Pick it with a click. |
press() | boolean | Pick it with the number key, which is what a person usually does. |
| Method | Returns | Description |
|---|---|---|
Dialogue.find | DialogueOption? | The first option matching a pattern. |
Dialogue.options | { DialogueOption } | Every option currently offered. |
texttext: (DialogueOption) -> stringThe option's text.
optionNumberoptionNumber: (DialogueOption) -> numberWhich numbered option this is, from 1.
clickclick: (DialogueOption) -> booleanPick it with a click.
presspress: (DialogueOption) -> booleanPick it with the number key, which is what a person usually does.