How do I use GetBattlefieldStatData()? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Iaccidentallytwink's Avatar Elite User
    Reputation
    591
    Join Date
    Aug 2007
    Posts
    1,020
    Thanks G/R
    1/16
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I use GetBattlefieldStatData()?

    I'm trying to get the number of flags captured on either side and the time left in the current battleground Warsong (I need this information for WSG only).


    That sounds easy and all, except that GetBattlefieldStatData() has practically ZERO documentation. How would I go about doing this? I'm fairly new to LUA but not new to programming concepts. I'll be trying to explore the API function myself but I'll probably not be very successful so I'm coming here for help.


    what do?


    How do I use GetBattlefieldStatData()?
  2. #2
    Wopak's Avatar Active Member
    Reputation
    59
    Join Date
    Jul 2008
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For flag returns i guess this works?

    for i = 1, GetNumBattlefieldScores() do
    flagCaptures = flagCaptures + GetBattlefieldStatData(i, 1);
    end

Similar Threads

  1. [Question] How do I use the helm fix?
    By youngpyro in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 12-20-2007, 03:22 PM
  2. How do you use Model Edit Fix?
    By Darthgnomer in forum WoW ME Questions and Requests
    Replies: 9
    Last Post: 11-28-2007, 05:51 PM
  3. [Question] how do i use a rev?
    By ridders in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 11-19-2007, 01:15 PM
  4. How do I use WoW Gliders?
    By lauweisheng in forum World of Warcraft General
    Replies: 1
    Last Post: 02-06-2007, 08:59 AM
  5. Torrent : how do i use?
    By frigget in forum Community Chat
    Replies: 2
    Last Post: 11-23-2006, 02:18 AM
All times are GMT -5. The time now is 02:51 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search