ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Pulling Character Information (https://www.esoui.com/forums/showthread.php?t=7572)

Ni Lucian 01/17/18 10:29 AM

Pulling Character Information
 
Does anybody know how to pull things like armor details, champion points/allocations, mundus stone etc..

Rhyono 01/17/18 01:28 PM

From yourself or someone else?

Ni Lucian 01/17/18 02:22 PM

From oneself. The character using the addon. If you have information on pulling from someone else i'll take that as well.

Rhyono 01/17/18 03:51 PM

Well your armor can be pulled via slot calls using BAG_WORN (it's like accessing your inventory, just with a different "bag"). Having Zgoo would help with a lot of the stats and that sort of thing:

zgoo /global then expand UnitData to see what functions return what on you.

For champion points, you'd need to loop through the lists for each type and check how many points are in the perks. Use find on the API page starting with "GetNumChampionDisciplines" and look at everything that immediately follows.

Ayantir 01/18/18 04:39 AM

http://www.esoui.com/downloads/info9...erBuilder.html


All times are GMT -6. The time now is 10:45 AM.

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