Wikia

WoWWiki

API GetBattlefieldWinner

Talk0
101,500pages on
this wiki
Revision as of 14:39, April 9, 2008 by Valana (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

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

Around Wikia's network

Random Wiki