I'm making a new AddOn, which I've called "Improved Game Menu for WoW (IGM)", and I've get lost with some of the API functions I must use.
The purposse of the AddOn is to take to shadow the background when you're in the Game Menu of World of Warcraft. (As if you where in Win, Linux or Mac when you takes out the shutdown menu for those OS)
I've correctly developed the XML file, I've already tested in a "private" World of Warcraft Realm, and all the screen goes to shadow.
The problem is that this alpha00-version doesn't works as I want. I mean, the AddOn takes the screen to shadows always, and what I want is that this takes places just when the player push ESC key and get the Game Menu.
For that reason, I've been searching around WoWWiki and other sites, but I'm still lost.
So the questions are:
a. Which API function resolves if the player is perfoming an action or not?
b. Which API function resolves if the player has pushed the ESC key or no?
c. Which API funciont resolves if the player has pushed the ESC key and has get the Game Menu or if he has pushed it and it means that the currently action has been stopped?
Thank you for answer me.
Sorry about my English, I hope you've understood me.