TorqueScript Reference
Functions

Functions

Integer messageBox (title, message, [buttons]?, [icon]?)
 

Detailed Description

Function Documentation

◆ messageBox()

Integer messageBox ( title  ,
message  ,
[buttons] ?  ,
[icon] ?   
)

Pops up a message box

Parameters
titleThe message box's title to display
messageThe message to display in the box
buttonsThe buttons to include on box (default MBOkCancel)
iconThe displayed icon (default MIInformation)
Returns
Returns the ID of the box