Get the winner of the battlefield

winner = GetBattlefieldWinner()

Parameters[edit | edit source]

Returns[edit | edit source]

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.

Details[edit | edit source]

Gets the winner of the battleground that the player is currently in.

WoW API < GetBattlefieldWinner

Community content is available under CC-BY-SA unless otherwise noted.