Originally Posted by Waky
I'm attempting to recreate an addon that tracks your killing blows, honorable kills, etc. in a broker frame. Right now I'm using the following API to find these values:
GetNumBattlefieldScores()
GetBattlefieldScore(i)
These work perfectly for what I'm trying to do except for ONE thing; they won't seem to update unless I open and close the PvP stats frame. Is there a way to get these to work without having to open/close the PvP Stats frame?
Thanks in advance!
|
you should register the event "UPDATE_BATTLEFIELD_SCORE" then periodically call RequestBattlefieldScoreData() i think.
edit: i've always thought a great mod would be to mimic a sports ticker scrolling at the bottom of the screen. have sliding text show the latest stats and interesting info from the current match or even have it listen to a global broadcast from other people running the mod and then show stats from other battlegrounds. not necessarily useful, but it'd be pretty funny.