DCS func warning

From DCS World Wiki - Hoggitworld.com

Scripting Root

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

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