WoW DirectGameMenu addon Shadowlands/Burning Crusade Classic 2021
logo
wow addon DirectGameMenu

DirectGameMenu

Game Version: 2.5.1
Total Downloads: 576
Updated: Jul 5, 2021
Created: Aug 21, 2016
download DirectGameMenuDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
2021-07-04-release-bcc release 1.85 KB Jul 5, 2021 2.5.1 0 download DirectGameMenu 2021-07-04-release-bcc releaseDownload
2021-07-04-release-classic release 1.85 KB Jul 5, 2021 1.13.7 0 download DirectGameMenu 2021-07-04-release-classic releaseDownload
2021-07-04-release release 1.85 KB Jul 5, 2021 9.1.0 0 download DirectGameMenu 2021-07-04-release releaseDownload
2018-08-01-release release 925 Bytes Aug 1, 2018 8.0.1 87 download DirectGameMenu 2018-08-01-release releaseDownload
2017-08-29-release release 929 Bytes Aug 29, 2017 7.3.0 76 download DirectGameMenu 2017-08-29-release releaseDownload
2017-07-22-release release 931 Bytes Jul 22, 2017 7.2.5 58 download DirectGameMenu 2017-07-22-release releaseDownload
2016-10-27-release release 1002 Bytes Oct 27, 2016 7.1.0 146 download DirectGameMenu 2016-10-27-release releaseDownload
2016-08-21-release-3 release 1.01 KB Aug 22, 2016 7.0.3 88 download DirectGameMenu 2016-08-21-release-3 releaseDownload
2016-08-21-release-2 release 1014 Bytes Aug 21, 2016 7.0.3 61 download DirectGameMenu 2016-08-21-release-2 releaseDownload
2016-08-21-release release 969 Bytes Aug 21, 2016 7.0.3 60 download DirectGameMenu 2016-08-21-release releaseDownload

Description

Share this:

This tiny addon opens the game menu (bound to the “Escape” key by default) in one press. With this, you will only have to press “Escape” once to open the game menu even if you have a target or are casting a spell. It does this by overriding Blizzard’s ToggleGameMenu function with its own, much smaller function. Here’s the code:

ToggleGameMenu = function()
    if not UIParent:IsShown() then
        SetUIVisibility(true)
    end
    if GameMenuFrame:IsShown() then
        PlaySound(SOUNDKIT.IG_MAINMENU_QUIT)
        HideUIPanel(GameMenuFrame)
    else
        PlaySound(SOUNDKIT.IG_MAINMENU_OPEN)
        ShowUIPanel(GameMenuFrame)
    end
end

Comments

Add a comment