Difference between revisions of "DCS func warning"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 42: Line 42:
 
}}
 
}}
 
[[Category:Singleton Functions|warning]]
 
[[Category:Singleton Functions|warning]]
 +
[[Category:Game Patch 1.2.0|warning]]

Latest revision as of 06:41, 17 March 2022

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
Examples:
Related Functions: env functions: info, warning, error, setErrorMessageBoxEnabled, getValueDictByKey
Notes: