Thread Tools Display Modes
03-11-24, 04:06 AM   #1
Rienwe
A Deviate Faerie Dragon
 
Rienwe's Avatar
Join Date: Nov 2023
Posts: 14
Macro to open the map on a specific zone

I'd like a macro that open my map on Stormwind, is it possible?

EDIT: ok so I was able to find the infos. here is the macro:

/run if not WorldMapFrame:IsVisible() then ToggleWorldMap() end local t={84} mIdX=(mIdX or 0)%#t+1 WorldMapFrame:SetMapID(t[mIdX])

84 is the stormwind map, and to switch to other zones in a loop just add ",21, 47, 557" after 84 for example.

/run if not WorldMapFrame:IsVisible() then ToggleWorldMap() end local t={84,21, 47, 557} mIdX=(mIdX or 0)%#t+1 WorldMapFrame:SetMapID(t[mIdX])

here are the numbers for the zones:
https://wowpedia.fandom.com/wiki/UiMapID

Last edited by Rienwe : 03-11-24 at 04:27 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Macro to open the map on a specific zone


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