code: def select_unit(action, action_space, select_unit_act, select_unit_id):
    
    del action_space
    select = action.action_ui.multi_panel
    select.type = select_unit_act
    select.unit_index = select_unit_id
docs: Select a specific unit from the multi-unit selection.