Difference between revisions of "DCS func setErrorMessageBoxEnabled"

From DCS World Wiki - Hoggitworld.com
m (added example)
 
Line 42: Line 42:
 
}}
 
}}
 
[[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: