Fandom

WoWWiki

API GetBattlefieldWinner

104,634pages 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.

Get the winner of the battlefield

winner = GetBattlefieldWinner()

Parameters Edit

Returns Edit

winner
winner
Integer - Faction/team that has won the battlefield. Results are: nil if nobody has won, 0 for Horde and 1 for Alliance in a battleground, 0 for Green Team and 1 for Yellow in an arena.

DetailsEdit

Gets the winner of the battleground that the player is currently in.
WoW API < GetBattlefieldWinner

Also on Fandom

Random Wiki