Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API GetBattlefieldWinner

From WoW Classic Wiki

Get the winner of the battleground

battlefieldWinner = GetBattlefieldWinner()

Parameters

Arguments

None

Returns

battlefieldWinner
battlefieldWinner
Integer - A code indicating the battleground winner. (nil for no one; 0 for Horde; 1 for Alliance)

Details

Gets the winner of the current battleground that the player is inside.