WoW DirectGameMenu addon Shadowlands/classic 2021
logo
wow addon DirectGameMenu

DirectGameMenu

Game Version: 8.0.1
Total Downloads: 550
Updated: Aug 1, 2018
Created: Aug 21, 2016
download DirectGameMenuDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
2018-08-01-release release 925 Bytes Aug 1, 2018 8.0.1 78 download DirectGameMenu 2018-08-01-release releaseDownload
2017-08-29-release release 929 Bytes Aug 29, 2017 7.3.0 74 download DirectGameMenu 2017-08-29-release releaseDownload
2017-07-22-release release 931 Bytes Jul 22, 2017 7.2.5 53 download DirectGameMenu 2017-07-22-release releaseDownload
2016-10-27-release release 1002 Bytes Oct 27, 2016 7.1.0 142 download DirectGameMenu 2016-10-27-release releaseDownload
2016-08-21-release-3 release 1.01 KB Aug 22, 2016 7.0.3 86 download DirectGameMenu 2016-08-21-release-3 releaseDownload
2016-08-21-release-2 release 1014 Bytes Aug 21, 2016 7.0.3 59 download DirectGameMenu 2016-08-21-release-2 releaseDownload
2016-08-21-release release 969 Bytes Aug 21, 2016 7.0.3 58 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