Lua:messageDialog
Jump to navigation
Jump to search
function messageDialog(Text, Type, Button, ...)
Displays a messagebox of a specific type with a variable amount of buttons at the center of the screen with the provided text.
Returns: ButtonResult
Function Parameters
Parameter | Type | Description |
---|---|---|
Text | String | The message to show |
Type | DialogType | The type of the messagebox. |
Button | ButtonType | The kind of button. There can be multiple buttons provided |