DCS func error

From DCS World Wiki - Hoggitworld.com
Revision as of 06:41, 17 March 2022 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Envrioment: Mission Scripting
Function: error Added with: 1.2.0
Member Of: env
Syntax: function env.error(string log , boolean showMessageBox)
Description: Prints the passed string to the dcs.log with a prefix of 'error'. The optional variable defines whether or not a message box will pop up when the logging occurs.


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