Originally Posted by myrroddin
Reading this thread got me thinking: Astrolabe can handle adding icons to instance maps just as well as world and mini maps. However, I am slowly writing my own replacement library.
If I created an API, say lib:AddIcon(mapID, mapFloor, icon) –– going simple here, passing an instance like the Garrison or a dungeon isn't going to work, as instanceIDs and mapIDs are not the same. Is there a suggested method to accomplish this?
Sure, I can look at Astrolabe, and often do, but, and I could be wrong, Astrolabe strikes me as overly complex.
|
Well, I'm pretty sure there are methods to get the WorldMapID, and the floor that's currently active on the player's map. You shouldn't need the InstanceID to do that. So I'm not sure what you're asking exactly. :/