WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   Opening the World Map with Quest pane closed (https://www.wowinterface.com/forums/showthread.php?t=54002)

Lazare 07-23-16 08:01 PM

Opening the World Map with Quest pane closed
 
The subject pretty much says it. Trying to find lua that would Open the World Map with Quest pane closed. i.e. Just open the world map itself, not the quest pane. Tried all the major sites along with Google and my lua books, but don't seem to be able to find it.

Ant help would be greatly appreciated.


Cheers,
Lazare

syncrow 07-23-16 08:39 PM

Lua Code:
  1. /run QuestMapFrame_Close(); ToggleFrame(WorldMapFrame);

Lazare 07-23-16 08:48 PM

Quote:

Originally Posted by syncrow (Post 316871)
Lua Code:
  1. /run QuestMapFrame_Close(); ToggleFrame(WorldMapFrame);

Thank you for the quick response, but I asked how you do it in Lua so that I may insert it into my addon.


Cheers!

Vrul 07-24-16 06:15 AM

The /run command does just that and runs Lua code. So if you want to run that code in an addon drop the /run and keep the rest.

Lazare 07-24-16 08:55 PM

Thank you very much!
Cheers!


All times are GMT -6. The time now is 02:55 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI