@breakone9r wonder if you could do a@Gomcha/Leigheas didn't read all the discussion but use the embedde mapper or the emco tab and then install adjustable tabwindows convert your emco this is possible by just clicking and draggin the map tab or send it to an userwindow by double click
myMapWidget:setDockPosition("floating")
Then reseat it back into your window
raiseWindow"mapper"yourgeysermapper:raise()get_priorities(testTbl){"Char1","Char2"}{"Char2", "Char1"}testTbl = {
Char1 = {
hp = 100,
maxhp = 124,
},
Char2 = {
hp = 150,
maxhp = 150,
},
}
function get_priorities(tbl)
local prios = table.keys(tbl)
table.sort(prios, function(a,b) return tbl[a].hp < tbl[b].hp end)
return prios
end{ {Char1 = {hp = 100, maxhp = 124}}, {Char2 = {hp = 150, maxhp=150}} }