SetMap - Addon Assitance
I currently have an addon which is throwing up errors it appears to be related to the fact it can't set the map/get the map ID.
The code I have for this portion is like this; Code:
function MountManager:ZONE_CHANGED_NEW_AREA() Code:
20x MountManager\MountManager-v1.0.0.lua:260: attempt to call upvalue 'SetMapToCurrentZone' (a nil value) |
The whole of the map system was changed. While in game you can query the map ui by typing /api map or /api mapui . I can never remember which. There is also a command /api system or systems which will list the different api's that can be listed in detail. There have been various posts regarding the up and coming changes on these forums for a few months now.
Looking at the blizzard code here : https://www.townlong-yak.com/framexml/beta/MapUtil.lua The function I feel may be the best equivalent for you is : MapUtil.GetDisplayableMapForPlayer() However, there may be others who have looked into the mapping system in more detail and have a more accurate one for you. |
Hey,
thanks for the reply, sadly it didn't seem to fix it, I tried a few variations but It wouldn't work |
All times are GMT -6. The time now is 07:07 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI