API IsThreatWarningEnabled

Returns true if threat warnings are currently enabled.
 enabled = IsThreatWarningEnabled()
==Return values==
:;enabled: flag - 1 if the warnings are enabled, nil if they are not.
==Details==
* The warnings are controlled by the CVar, which allows the player to specify in which situations the warnings should be active. This function takes into account the current situation.
==See Also==
*