View Single Post
06/30/23, 05:52 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,999
Code:
/script d("Current mapId: " ..tostring(GetCurrentMapId()) )
Or using merTorchbug Updated and improved
/tb GetCurrentMapId()
----- @return name string, mapType [UIMapType|#UIMapType], mapContentType [MapContentType|#MapContentType], zoneIndex luaindex, description string
/tb GetMapInfoByIndex(GetCurrentMapIndex())

MapContentType should return MAP_CONTENT_AVA then
and zoneIndex most probably will be the zoneIndex of the Imperial Sewers (there might exist multiple zoneIndices/zoneIds for the different parts of the sewers, not sure. Maybe onlky the mapIds differ there) then

Last edited by Baertram : 06/30/23 at 05:57 AM.
  Reply With Quote