Thread Tools Display Modes
07-18-07, 02:46 AM   #1
Wolfchamane
A Deviate Faerie Dragon
 
Wolfchamane's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 12
[Help] Improved Game Menu for WoW

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.
  Reply With Quote
07-18-07, 03:44 AM   #2
tardmrr
Lua Ninja
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 133
Code:
local t = GameMenuFrame:CreateTexture(nil,"BACKGROUND")
t:SetAllPoints(UIParent)
t:SetTexture(0,0,0,.7)
  Reply With Quote
07-18-07, 04:02 AM   #3
Wolfchamane
A Deviate Faerie Dragon
 
Wolfchamane's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 12
Nice ... I will try this evening
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » [Help] Improved Game Menu for WoW


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off