WoW:API GetBattlefieldWinner: Difference between revisions

m
Move page script moved page API GetBattlefieldWinner to WoW:API GetBattlefieldWinner without leaving a redirect
(→‎Notes: Cleaned up the note a little)
m (Move page script moved page API GetBattlefieldWinner to WoW:API GetBattlefieldWinner without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Get the winner of the battlefield
Get the winner of the battlefield


  winner= GetBattlefieldWinner()
  winner = GetBattlefieldWinner()


== Parameters ==
== Parameters ==
Line 11: Line 11:
==Details==
==Details==


: Gets the winner of the current battleground that the player is inside.
: Gets the winner of the battleground that the player is currently in.


==Notes==
: As of Patch 2.3.2 this is broken inside Battlegrounds and returns 255 if the game has been won instead of 0 or 1, it still works in Arena's however and will return 0 for Green Team and 1 for Gold Team
----
{{wowapi}}
{{wowapi}}
Anonymous user