Skip to content

rq.UiAskRow ​

One row of rq.ui.ask.

Fields ​

NameTypeDescription
id (optional)anyWhat ask returns for this row: any value but nil. Default: its place in the list, counting separators.
textstringThe text.
r (optional)integerRed, 0 to 255. Default: the game's grey.
g (optional)integerGreen, 0 to 255. Default: the game's grey.
b (optional)integerBlue, 0 to 255. Default: the game's grey.
comment (optional)stringShown in the game's comment box beside the dialog while the row is under the mouse. Its lines are cut between words, at most 28 half-width letters (14 Japanese) each, as the menu's box takes them; \n starts a line, and @ and $ are drawn as @ and $ (since 2.45.1: before, the game cut every 28 letters mid-word and counted on across a \n).
sound (optional)integerA sound number the row plays when picked; default the game's.

Used by ​

rq.ui.ask