WoW:API GetInstanceLockTimeRemaining: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API GetInstanceLockTimeRemaining to API GetInstanceLockTimeRemaining without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GetInstanceLockTimeRemaining

Returns information about the instance lock timer for the current instance.

lockTimeleft, isPreviousInstance, encountersTotal, encountersComplete = GetInstanceLockTimeRemaining();

Returns[edit]

lockTimeLeft
Number - Seconds until lock period ends
isPreviousInstance
Boolean - Whether this instance has yet to be entered since last lockout expired (allowing for lock extension options)
encountersTotal
Number - Total number of bosses in the instance.
encountersComplete
Number - Number of bosses already dead in the instance.

History[edit]

  • isPreviousInstance argument added in Patch 3.2

See also[edit]