DCS func setErrorMessageBoxEnabled: Difference between revisions

From DCS World Wiki - Hoggitworld.com
m 1 revision imported
 
Bailey (talk | contribs)
m added example
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]]

Revision as of 10:09, 5 February 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: