Fandom

WoWWiki

API IsThreatWarningEnabled

104,631pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < IsThreatWarningEnabled

Returns whether threat warnings are currently enabled.

enabled = IsThreatWarningEnabled();

Return values Edit

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

Notes Edit

  • 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 Edit

Also on Fandom

Random Wiki