m
Move page script moved page API InCombatLockdown to WoW:API InCombatLockdown without leaving a redirect
No edit summary |
m (Move page script moved page API InCombatLockdown to WoW:API InCombatLockdown without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}}__NOTOC__ | {{wowapi}}__NOTOC__ | ||
Determines whether in-combat lockdown restrictions are active. | |||
inLockdown = InCombatLockdown() | |||
==Returns== | |||
; inLockdown : Flag - 1 if lockdown restrictions are currently in effect, false otherwise. | |||
== | |||
: | |||
==Notes== | ==Notes== | ||
*This function starts to return 1 after event "PLAYER_REGEN_DISABLED" has been fired. | * This function starts to return 1 after event "PLAYER_REGEN_DISABLED" has been fired. | ||
*Returns nil once again once event "PLAYER_REGEN_ENABLED" has been fired. | * Returns nil once again once event "PLAYER_REGEN_ENABLED" has been fired. | ||
==Restrictions== | ==Restrictions== | ||
| Line 24: | Line 18: | ||
**Changing the frame's attributes (custom attributes are used by Blizzard secure templates to set up their behavior). | **Changing the frame's attributes (custom attributes are used by Blizzard secure templates to set up their behavior). | ||
**Moving the frame by resetting frame's points or anchors (movements initiated by user are still allowed while in combat). | **Moving the frame by resetting frame's points or anchors (movements initiated by user are still allowed while in combat). | ||