Thread Tools Display Modes
03-08-15, 09:36 AM   #1
stealthbr
A Defias Bandit
Join Date: Feb 2015
Posts: 2
Automatic Minimap Toggle

Hello everyone! I like playing WoW with an extremely minimalistic UI, so I disable everything that I believe I don't need to enjoy the game, and that includes the minimap. Currently, WoW allows me to toggle the minimap on/off by assigning a simple keystroke within the Keybind settings in-game. However, every time I re-open the game client or log in a different a character, I have to hit this keybind. Is there a way to create an addon that automatically toggles my minimap off upon logging in, but still provides me with the functionality of being able to hit a keybind and toggle it on again? Basically, I would like an addon that automatically hits this keybind whenever I log in the game.

Thanks!
  Reply With Quote
03-08-15, 11:33 AM   #2
jeruku
A Cobalt Mageweaver
 
jeruku's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 223
Insert the following here and it will create a simple little addon for you.
This should toggle the Minimap every time your character loads in for the first time.

Lua Code:
  1. Minimap:RegisterEvent('PLAYER_ENTERING_WORLD')
  2. Minimap:HookScript('OnEvent', function(self, event, ...)
  3.     if event == 'PLAYER_ENTERING_WORLD' then
  4.         ToggleMinimap()
  5.         self:UnregisterEvent('PLAYER_ENTERING_WORLD')
  6.     end
  7. end)
__________________
"I have not failed, I simply found 10,000 ways that did not work." - Thomas Edison
  Reply With Quote
03-08-15, 10:52 PM   #3
stealthbr
A Defias Bandit
Join Date: Feb 2015
Posts: 2
Originally Posted by jeruku View Post
Insert the following here and it will create a simple little addon for you.
This should toggle the Minimap every time your character loads in for the first time.

Lua Code:
  1. Minimap:RegisterEvent('PLAYER_ENTERING_WORLD')
  2. Minimap:HookScript('OnEvent', function(self, event, ...)
  3.     if event == 'PLAYER_ENTERING_WORLD' then
  4.         ToggleMinimap()
  5.         self:UnregisterEvent('PLAYER_ENTERING_WORLD')
  6.     end
  7. end)
Hey, thanks for the help! I'll give it a try tomorrow!
  Reply With Quote
03-09-15, 06:46 AM   #4
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
You may also test King Kong Frame Fader for a max minimalistic UI:

http://www.curse.com/addons/wow/kingkongframefader
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Automatic Minimap Toggle

Thread Tools
Display Modes

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