HTeam
10-23-2009, 02:02 AM
re: http://www.wowwiki.com/API_JoinBattlefield
So I'm looking at JoinBattlefield() and it appears to work on the currently selected battleground. Anyone know of a way to queue for a battleground without opening and selecting a specific battleground. I've been reading through the code for Preform AV Enabler and it appears to require selecting a battleground before it can be called.
This is where I'm a bit fuzzy, can the battleground form be manipulated, hidden, selected, etc. through script such that I can push one button and queue for the bg of choice?
In particular, I'm looking to queue for the 2 bg's that I have the fewest marks with, so I can save up marks for the "For Greater Honor" quest as a way of going past the honor cap. Currently I can do this part easily enough and I have a macro that just prints which bg's I need.
I don't need working code, just if anyone has a better idea of where to look, or knows of a mod that does something similar. I'd have sword that Preform AV Enabler didn't require an open form, but if it doesn't I'm not sure how the code accomplishes that.
So I'm looking at JoinBattlefield() and it appears to work on the currently selected battleground. Anyone know of a way to queue for a battleground without opening and selecting a specific battleground. I've been reading through the code for Preform AV Enabler and it appears to require selecting a battleground before it can be called.
This is where I'm a bit fuzzy, can the battleground form be manipulated, hidden, selected, etc. through script such that I can push one button and queue for the bg of choice?
In particular, I'm looking to queue for the 2 bg's that I have the fewest marks with, so I can save up marks for the "For Greater Honor" quest as a way of going past the honor cap. Currently I can do this part easily enough and I have a macro that just prints which bg's I need.
I don't need working code, just if anyone has a better idea of where to look, or knows of a mod that does something similar. I'd have sword that Preform AV Enabler didn't require an open form, but if it doesn't I'm not sure how the code accomplishes that.