Fandom

WoWWiki

API GetBattlefieldTimeWaited

104,631pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetBattlefieldTimeWaited
timeInQueue = GetBattlefieldTimeWaited( battlegroundQueuePosition );

Get time this player's been in the queue in milliseconds

Function Parameters Edit

Arguments Edit

battlegroundQueuePosition 
Integer - The queue position.

Returns Edit

timeInQueue 
Integer - Milliseconds this player has been waiting in the queue

Example Edit

You queue up for Arathi Basin and Alterac Valley.

x = GetBattlefieldTimeWaited(1); # Arathi Basin

y = GetBattlefieldTimeWaited(2); # Alterac Valley

As soon as the join message appears, that slot is "empty" (returns 0) but they are not reordered, queuing up again will use the lowest slot available.

Also on Fandom

Random Wiki