View Single Post
11/07/21, 04:15 AM   #5
@DeadSoon
AddOn Author - Click to view addons
Join Date: Sep 2018
Posts: 22
Thanks for these helpful answers and explanations.

Is there any way to retrieve the mapId from a zoneId?
In my individual case I have only a zoneId and from that I can get the mapIndex via
Lua Code:
  1. GetMapIndexByZoneId(number zoneId)

But from that, I find no option/function that gives me the mapId. With the mapId I want set the map via
Lua Code:
  1. SetMapToMapId(number mapId)


Currently, I just use the mapIndex (if it is not nil) to set the map via
Lua Code:
  1. ZO_WorldMap_SetMapByIndex(mapIndex)


If you have any idea how to get the mapId which would be the better choice than mapIndex) from the zoneId, please let me know.

However, while this is not the help forum, this thread can be closed (with or without ideation).

Thanks again to all
  Reply With Quote