1) Solved
Was due to choking on missing actor upgrades/rewrites no longer working the same way.
2) Solved
Was due to choking on missing actor upgrades/rewrites no longer working the same way.
3) Still bugged
The combobox does not initialize the selected active list entry when it first comes up. It used to do this. This causes the drop down not to bold the currently selected value until you actually select it again. First time it is up it will not show as bolded.
Also when I put my old changes into the new combobox for mycombobox everything seemed to work except when I select from the dropdown box. Then I get the following error:
[ERROR] Script execution error: [string "common/scripts/mycombobox.lua"]:214: attempt to index field '?' (a nil value)
The line (same as in new combobox) is
Code:
function refreshValueDisplay()
if _nSelection > 0 then
setValue(_tItems[_tOrderedItems[_nSelection]].text);
setTooltipText(_tItems[_tOrderedItems[_nSelection]].text) <============ Line 214
else
setValue("");
setTooltipText("");
end
if _ctrlList then
_ctrlList.setSelection(_nSelection);
end
end
Took a long time to rewrite all those actor things so now I'll see what this new tooltip is and why its complaining. I'm assuming there is some new "thing" that a mere replacement of the "combobox" template and it's .lua code is missing. I assume the fix to get the initial selection fixed is self explanatory (as I'm not going to look up where that is unless I have to).
Still not done testing as all those changes are just begging for a typo/cut paste error by the sheer number of them alone.