IsThreatWarningEnabled

From Wowpedia
Revision as of 00:41, 8 November 2009 by Foxlit (talk | contribs) (Created page with '{{wowapi}} Returns whether threat warnings are currently enabled. enabled = IsThreatWarningEnabled(); == Return values == ; enabled : Boolean flag - 1 if the warnings are enabl…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns whether threat warnings are currently enabled.

enabled = IsThreatWarningEnabled();

Return values

enabled 
Boolean flag - 1 if the warnings are enabled, nil if they are not.

Notes

  • The warnings are controlled by the threatWarning 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