WoW:API IsThreatWarningEnabled: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{wowapi}} Returns whether threat warnings are currently enabled. enabled = IsThreatWarningEnabled(); == Return values == ; enabled : Boolean flag - 1 if the warnings are enabl…') |
m (Move page script moved page API IsThreatWarningEnabled to API IsThreatWarningEnabled without leaving a redirect) |
(No difference)
|
Latest revision as of 04:46, 15 August 2023
← 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.