<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_GetBattlefieldStatData</id>
	<title>WoW:API GetBattlefieldStatData - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_GetBattlefieldStatData"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetBattlefieldStatData&amp;action=history"/>
	<updated>2026-04-22T15:39:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_GetBattlefieldStatData&amp;diff=15190&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API GetBattlefieldStatData to WoW:API GetBattlefieldStatData without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetBattlefieldStatData&amp;diff=15190&amp;oldid=prev"/>
		<updated>2023-08-15T04:45:45Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_GetBattlefieldStatData&quot; title=&quot;WoW:API GetBattlefieldStatData&quot;&gt;API GetBattlefieldStatData&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_GetBattlefieldStatData&quot; title=&quot;WoW:API GetBattlefieldStatData&quot;&gt;API GetBattlefieldStatData&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:45, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key addonstu_asmw2:diff::1.12:old-15189:rev-15190 --&gt;
&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_GetBattlefieldStatData&amp;diff=15189&amp;oldid=prev</id>
		<title>WoWWiki&gt;Shadowed at 00:32, 13 July 2006</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_GetBattlefieldStatData&amp;diff=15189&amp;oldid=prev"/>
		<updated>2006-07-13T00:32:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Get data from the custom battlefield scoreboard columns&lt;br /&gt;
&lt;br /&gt;
 GetBattlefieldStatData(playerIndex,slotIndex)&lt;br /&gt;
== Parameters ==&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
&lt;br /&gt;
:;playerIndex : Integer - Player you want to grab the data for&lt;br /&gt;
:;slotIndex : Integer - Column you want to grab the data from&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== Details ===&lt;br /&gt;
Used to retrieve data from battleground specific scoreboard columns like flag captures in [[Warsong Gulch]]. If you want to make sure you have the most recent data you will have to call [[API RequestBattlefieldScoreData|RequestBattlefieldScoreData]] and then wait for UPDATE_BATTLEFIELD_SCORE.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
=== Example ===&lt;br /&gt;
Get how many flags captures and returns a player has inside Warsong Gulch.&lt;br /&gt;
&lt;br /&gt;
 for i=1, GetNumBattlefieldScores() do&lt;br /&gt;
 	local playerName = GetBattlefieldScore(i);&lt;br /&gt;
 	local flagCaptures = GetBattlefieldStatData(i, 1);&lt;br /&gt;
 	local flagReturns = GetBattlefieldStatData(i, 2);&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
__NOTOC__&lt;br /&gt;
{{wowapi}}&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;Shadowed</name></author>
	</entry>
</feed>