WoW:API GetBattlefieldWinner: Difference between revisions

m
Move page script moved page API GetBattlefieldWinner to WoW:API GetBattlefieldWinner without leaving a redirect
(Cleaned up a bit, and added info about it being broken in 2.3.0)
m (Move page script moved page API GetBattlefieldWinner to WoW:API GetBattlefieldWinner without leaving a redirect)
 
(3 intermediate revisions by 3 users 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==
: Currently in Patch 2.3.0 this is broken and returning nil when nobody has won, and 255 if someone has won regardless of faction or team
----
{{wowapi}}
{{wowapi}}
Anonymous user