Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/23/22, 06:01 PM   #1
trollusk
AddOn Author - Click to view addons
Join Date: Nov 2020
Posts: 8
How to get the type of a location?

I'm making an addon that adds pins for certain town services to the compass. These are "Locations" in the API.

Currently I'm figuring out what type each location is by taking the icon filename using GetMapLocationIcon(n), then parsing it to get the filename, then comparing that with the icons for the location types I'm interested in (e.g. if filename == "servicepin_stable.dds")

Is there a better way to get the Location type?
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » How to get the type of a location?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off