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