Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Battlefield === :{{id|API|AcceptAreaSpiritHeal}}() - Accept a spirit heal. :{{id|API|AcceptBattlefieldPort}}(index[, acceptFlag]) - Accept or reject an offered battlefield port. :{{id|API|CancelAreaSpiritHeal}}() - Cancel a spirit heal. :{{id|API|CanJoinBattlefieldAsGroup}}() - returns nil if the player can not do a group join for a battlefield. :{{id|API|CheckSpiritHealerDist}}() - Return true if you are in range with spirit healer while dead. :{{id|API|GetAreaSpiritHealerTime}}() - Returns the time left until the next resurrection by the Sprit Guide. :{{id|API|GetBattlefieldEstimatedWaitTime}}(index) - Get the estimated wait for entry into the battlefield. :{{id|API|GetBattlefieldFlagPosition}}(index) - Get the map position and texture of the flag. :{{id|API|GetBattlefieldInstanceExpiration}}() - Get shutdown timer for the battlefield instance. :{{id|API|GetBattlefieldInstanceRunTime}}() - In milliseconds, the time since battleground started (seems to be queried from server because it is not in sync with time()). :{{id|API|GetBattlefieldMapIconScale}}() - Scale of the landmark icons on the battlefield minimap. :{{id|API|GetBattlefieldPortExpiration}}(index) - Get the remaining seconds before the battlefield port expires. :{{id|API|GetBattlefieldPosition}}(index) - Get the map position and name of a player in the battleground not in your raid. :{{id|API|GetBattlefieldScore}}(index) - Get score information about a player. :{{id|API|GetBattlefieldStatData}}(playerIndex, slotIndex) - Get information for a player from a column thats specific to a battleground (like Warsong Gulch flag captures). :{{id|API|GetBattlefieldStatInfo}}(index) - Get the battleground specific column for the score board. :{{id|API|GetBattlefieldStatus}}(index) - Get the battlefield's current status. :{{id|API|GetBattlefieldTimeWaited}}(index) - Get time waited in queue in milliseconds. :{{id|API|GetBattlefieldWinner}}() - Get the battlefields winner. :{{id|API|GetBattlegroundInfo}}() - Returns information about a battleground type. :{{id|API|GetNumBattlefieldFlagPositions}}() - Get the number of flag positions available from GetBattlefieldFlagPosition(). :{{id|API|GetNumBattlefieldPositions}}() - Get the number of positions available from GetBattlefieldPosition(). :{{id|API|GetNumBattlefieldScores}}() - Returns the number of scores(players) listed in the battlefield scoreboard. :{{id|API|GetNumBattlefieldStats}}() - Get the number of battleground specific columns. :{{id|API|GetNumWorldStateUI}}() - Get the number of WorldState UI's. :REMOVED {{id|API|GetWintergraspWaitTime}}() - Get the number of seconds until the next Wintergrasp battle. Returns nil if battle is in progress. :{{id|API|GetWorldStateUIInfo}}(i) - Get score and flag status within a battlefield. :{{id|API|IsPVPTimerRunning}}() :{{id|API|JoinBattlefield}}(index[, joinAs]) - Queue for a battleground either solo or as a group. :{{id|API|LeaveBattlefield}}() - Leave the current battlefield :{{id|API|ReportPlayerIsPVPAFK}}("[[unitId|unit]]") - Reports the specified player as AFK in a battleground. :{{id|API|RequestBattlefieldPositions}}() - Request new data for GetBattlefieldPosition(). :{{id|API|RequestBattlefieldScoreData}}() - Request new data for GetBattlefieldScore(). :{{id|API|RequestBattlegroundInstanceInfo}}(index) - Requests data about the available instances of a battleground. :{{id|API|SetBattlefieldScoreFaction}}([faction]) - Set the faction to show on the battlefield scoreboard.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)