ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Updating Addon (https://www.esoui.com/forums/showthread.php?t=9600)

snichols7778 03/04/21 11:30 PM

Updating Addon
 
1 Attachment(s)
im fixing to write the guides for Greymoor and Markarth on zygor and release them to the public since Hydra has quit and the guy maintaining it only fixes bugs but im confused with some of the coding about map id numbers trying to figure out how to retrieve the map Id's

Sharlikran 03/05/21 08:06 AM

If you ask here how to get a map ID they will tell you. However, keep in mind that there may and will also probably be arbitrary numbers for things. Where the author made a table because locations like a castle or a house or the wyrd tree might not have an ID. If the number is duplicated and the location is on the same map, then maybe it is a map ID. If the number is unique then it could just be an arbitrary number.

sirinsidiator 03/05/21 09:18 AM

You have to differentiate between a map id and a zone id. The map id corresponds to a 2d map that you see when you open the map menu, while zone ids identify the 3d level your character is in. There is also no relationship between those two ids - a zone can have any number of maps and a map can have any number of zones.

You can print the map id to chat by opening the map menu, selecting the map you want to know the id for and then entering the following command in chat:
Code:

/script d(GetCurrentMapId())
The zone id for the location your character is currently in can be printed in a similar way:
Code:

/script d(GetZoneId(GetUnitZoneIndex("player"))

snichols7778 03/05/21 02:46 PM

thank you i figured it out it was a unique zygor code that you give it so it can track the map.


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

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