Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
181
Login Next Character #46
Clicking the button will login the next character in your character list.
337b | 12 lines.
UI.Button("Login Next Char", function(newText)
    modules.client_entergame.EnterGame.openWindow()

    local rwPanel = g_ui.getRootWidget():getChildById('charactersWindow')
    local buttonsPanel = rwPanel:getChildById('characters')

    if buttonsPanel then
        buttonsPanel:focusNextChild()
        rwPanel:onEnter()
    end

end)

01 Jul 2021