Originally Posted by Sasky
Looked at it a bit. It's easy to get a dump of currently spent points with something like:
Lua Code:
local function storePoints() local out = {} for i = 1, GetNumChampionDisciplines() do out[i] = {} for j = 1, GetNumChampionDisciplineSkills(i) do out[i][j] = GetNumPointsSpentOnChampionSkill(i, j) end end return out end
However, I was unable to get the map to update with those functions. Not sure if I was using it wrong or if it's broken. I was able to directly update the controls on the ui with something like this:
Lua Code:
function AddPendingPoints(i,j,num) CHAMPION_PERKS.constellations[i]:GetStars()[j].pendingPoints = num end
Another thing of interest with the champion system is it looks like they have a console UI prepped for it. You can switch over with CHAMPION_PERKS:ApplyGamepadStyle() though it's mainly just font changes.
|
I don't know enough about it to discuss it intelligently, but you should go here (
http://www.esoui.com/forums/showthread.php?t=4243) and ask ZOS. They are asking for feedback about the API changes in that thread. It would be nice to know if you should be able to update the map using that function.