Returns whether the user interface is protected due to combat. Non-Blizzard code is allowed to perform certain UI actions (such as changing secure template attributes or moving/showing/hiding secure frames) only if the player is not in combat; this function can be used to determine whether such actions are currently available.
See also Secure execution utility functions.
Signature:
inLockdown
=
InCombatLockdown()
Returns:
inLockdown
- 1 if the user interface is protected due to combat; otherwise nil (1nil
)