Difference between revisions of "DCS func setErrorMessageBoxEnabled"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
(One intermediate revision by one other user not shown)
Line 37: Line 37:
 
[[DCS_singleton_env|'''env functions:''']] {{listOfEnvFuncs}}
 
[[DCS_singleton_env|'''env functions:''']] {{listOfEnvFuncs}}
  
|examples=  
+
|examples= env.setErrorMessageBoxEnabled(false)
  
 
|notes=  
 
|notes=  
 
}}
 
}}
 
[[Category:Singleton Functions|setErrorMessageBoxEnabled]]
 
[[Category:Singleton Functions|setErrorMessageBoxEnabled]]
 +
[[Category:Game Patch 1.2.0|setErrorMessageBoxEnabled]]

Latest revision as of 06:42, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: setErrorMessageBoxEnabled Added with: 1.2.0
Member Of: env
Syntax: function env.setErrorMessageBoxEnabled(boolean toggle )
Description: Sets the value for whether or not an error message box will be displayed if a lua error occurs. By default the error message box will appear.


Return Value: function
Return Example: none
Examples: env.setErrorMessageBoxEnabled(false)
Related Functions: env functions: info, warning, error, setErrorMessageBoxEnabled, getValueDictByKey
Notes: