C_PvP.GetOutdoorPvPWaitTime

From Warcraft Wiki
Jump to navigation Jump to search

Returns the time until the next battle in a PvP zone like Wintergrasp and Tol Barad.

pvpWaitTime = C_PvP.GetOutdoorPvPWaitTime(uiMapID)

Arguments

uiMapID
number : UiMapID

Returns

pvpWaitTime
number - seconds until the battle starts.

Details

  • This will only return a good value if the map is zoned on an outdoor battle map and you are not in an instance.

Patch changes

Battle for Azeroth Patch 8.0.1 (2018-07-17): Moved to C_PvP.GetOutdoorPvPWaitTime.
Wrath-Logo-Small.png Patch 3.2.0 (2009-08-04): Added as GetOutdoorPVPWaitTime.