View Single Post
06/30/23, 01:55 PM   #6
Toirealach
AddOn Author - Click to view addons
Join Date: Sep 2020
Posts: 30
Originally Posted by Baertram View Post
Sometimes,if mapIds and zoneIds do not help, the map's texture name helps. Dunno which API function returned that one but perhaps it contains an string identifer then that you could use.
I think LibZone got an API function to return that.
I tried:

Code:
	local mapID = GetCurrentMapId()
	local tileFilename = ""
	for tileIndex = 1, 5 do
		tileFilename = GetMapTileTextureForMapId(mapID, tileIndex) or "NONE"
		d(string.format("tileIndex: %d, tileFileName: %s", tileIndex, tileFilename))
	end
And it returns the same thing on either side of the base door:

tileIndex: 1, tileFileName: Art/maps/cyrodiil/Imperialsewers_ebon1_base_0.dds
tileIndex: 2, tileFileName: Art/maps/cyrodiil/Imperialsewers_ebon1_base_1.dds
tileIndex: 3, tileFileName: Art/maps/cyrodiil/Imperialsewers_ebon1_base_2.dds
tileIndex: 4, tileFileName: Art/maps/cyrodiil/Imperialsewers_ebon1_base_3.dds
tileIndex: 5, tileFileName: Art/maps/cyrodiil/Imperialsewers_ebon1_base_4.dds
  Reply With Quote