
I would say there's a little work left before you beat OBSE, but nice indeed

SetMenuActiveFloatValue "user0", 1001, 99-which is the same as-let index := mqGetMenuActiveChildIndexlet sElement := GetActiveUIComponentNamelet sRoot := GetActiveUIComponentFullName-some magic to remove 'sElement' at the end of 'sRoot', needed because the child element needs a '#' in front of it0mqSetMenuChildFloatValue "%z\#%z\user0", sRoot, sElement, 1001, index, 99The latter ofcourse can be used with stored values, making it suitable to undo/revert things changed with SetMenuActiveXXXValue.
let i := mqGetMenuChildCount "rep_contents\rep_list_pane\##" 1035 DebugPrint "UH:Found %.0f elements", i While i > 0 let i -= 1 if (mqGetMenuChildHasTrait "rep_contents\rep_list_pane\##\filename" 1035 i) DebugPrint "UH:Don't do anything about scrollbar at index %0.f", i else set str1 to mqGetMenuChildStringValue "rep_contents\rep_list_pane\##\user5" 1035 i let tempF := ToNumber str1 DebugPrint "UH:Health %.0f with str %z at index %.0f", tempF, str1, i if tempF >= current_repair_limit DebugPrint "UH:Disable repair for index %.0f", i mqSetMenuChildFloatValue "rep_contents\rep_list_pane\##\user0" 1035 i 2 endif endif Loop
if (GetMenuHasTrait "item_cost_popup\item_cost_popup_text\string" 1008) == 0 mqInsertXML "EnhancedEconomy\dui_item_cost_popup.xml" 1008 if (GetMenuHasTrait "item_cost_popup\item_cost_popup_text\string" 1008) == 0 DebugPrint "EE:Failed to insert item cost popup!" endif endif...and I did not see the debug message
And the X-Skills\skill_data_layout.xml contains the actual content of each xskill element. Ofcourse your solution is just as easy (especially now with the MenuChild functions) but I wanted to let you know of this little 'trick' (I call it a trick because it's not as well known as I'd like).<_nth> 1 ..... <_nth> 2
And the X-Skills\skill_data_layout.xml contains the actual content of each xskill element. Ofcourse your solution is just as easy (especially now with the MenuChild functions) but I wanted to let you know of this little 'trick' (I call it a trick because it's not as well known as I'd like).<_nth> 1 ..... <_nth> 2