AddOn Stud… Editing (section) World of Warcraft API 0 You are not logged in. The rich text editor does not work with JavaScript switched off. Please either enable it in your browser options, or visit your preferences to switch to the old MediaWiki editor === 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. Loading editor Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above. Insert: – — … ° ≈ ≠ ≤ ≥ ± − × ÷ ← → · § Sign your username: ~~~~ Wiki markup: {{}} | [] [[]] [[Category:]] #REDIRECT [[]] <s></s> <sup></sup> <sub></sub> <code></code> <blockquote></blockquote> <ref></ref> {{Reflist}} <references/> <includeonly></includeonly> <noinclude></noinclude> {{DEFAULTSORT:}} <nowiki></nowiki> <!-- --> <span class="plainlinks"></span> Symbols: ~ | ¡ ¿ † ‡ ↔ ↑ ↓ • ¶ # ¹ ² ³ ½ ⅓ ⅔ ¼ ¾ ⅛ ⅜ ⅝ ⅞ ∞ ‘ “ ’ ” «» ¤ ₳ ฿ ₵ ¢ ₡ ₢ $ ₫ ₯ € ₠ ₣ ƒ ₴ ₭ ₤ ℳ ₥ ₦ № ₧ ₰ £ ៛ ₨ ₪ ৳ ₮ ₩ ¥ ♠ ♣ ♥ ♦ View this template This field is a spam trap. DO NOT fill it in! Edit summary Preview Mobile Desktop Show changes