Difference between revisions of "DialogType"
								
								Jump to navigation
				Jump to search
				
				
		
 					
								
							
		 (Created page with 'The following dialog types are defined in defines.lua  *mtWarning (0): Display a dialog with a Warning icon(red !) and play the Warning sound *mtError (1): Display a dialog with …')  | 
				m  | 
				||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | The following dialog types are defined in defines.lua  | + | [[Category:Lua]]  | 
| + | The following dialog types are defined in defines.lua:  | ||
| − | + | ===Dialog Types===  | |
| − | + | {|width="85%" cellpadding="5" cellspacing="0" border="0"  | |
| − | + | !align="left"|Constant  | |
| − | + | !align="left"|Value  | |
| + | !align="left"|Description  | ||
| + | |-  | ||
| + | |mtWarning  | ||
| + | |0  | ||
| + | |Warning dialog  | ||
| + | |-  | ||
| + | |mtError  | ||
| + | |1  | ||
| + | |Error dialog  | ||
| + | |-  | ||
| + | |mtInformation  | ||
| + | |2  | ||
| + | |Information dialog  | ||
| + | |-  | ||
| + | |mtConfirmation  | ||
| + | |3  | ||
| + | |Confirmation dialog  | ||
| + | |}  | ||
== See also ==  | == See also ==  | ||
* [[messageDialog]]  | * [[messageDialog]]  | ||
* [[Lua]]  | * [[Lua]]  | ||
Latest revision as of 23:28, 10 July 2025
The following dialog types are defined in defines.lua:
Dialog Types[edit]
| Constant | Value | Description | 
|---|---|---|
| mtWarning | 0 | Warning dialog | 
| mtError | 1 | Error dialog | 
| mtInformation | 2 | Information dialog | 
| mtConfirmation | 3 | Confirmation dialog |