API GetBattlefieldWinner

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

Get the winner of the battlefield

winner = GetBattlefieldWinner()

Parameters Edit

Returns Edit

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.


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

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.

Also on Fandom

Random Wiki