-
Posted by Kanio on Mon, 06 Sep 2010 17:18:30
Hi there, been looking around but can't seem to find what I am looking for so gonna try my luck here.
I have a very tiny addon that prints a text to the chat window whenever the Looking For Dungeon is ready but I can't seem to find what to call for the Battleground one. For the LFG one it's
LFG_PROPOSAL_SHOW
but what is it for battleground I wonder?Thanks a bunch in advance, Kanio.
-
Posted by jnwhiteh on Mon, 06 Sep 2010 17:31:50
Use /eventtrace and see what event fires. There's no better way to do it =)
-
Posted by Kanio on Mon, 06 Sep 2010 18:05:54
Thanks for quick help!
What I got out of it was only UPDATEBATTLEFIELDSTATUS which basically is whenever you join/leave a que but also when the Battleground Window pops up so seems there is no specific one for just the window :/
-
Posted by jnwhiteh on Mon, 06 Sep 2010 18:12:26
Check the arguments?
-
Posted by Kanio on Mon, 06 Sep 2010 18:17:27
They shown in /eventtrace?
-
Posted by jnwhiteh on Mon, 06 Sep 2010 18:17:50
Yep, click on the event.
-
Posted by Kanio on Mon, 06 Sep 2010 18:25:37
It says "1" :)
-
Posted by jnwhiteh on Mon, 06 Sep 2010 21:58:15
I don't know, maybe you can use that to your advantage. I'm not terribly familiar with that system. If you're trying to do something when the window pops up, look at the code for the window and see what makes it pop up. If the default UI uses it, you can do it.