Act on a control group, selecting, setting, etc.

def control_group(action, action_space, control_group_act, control_group_id):
  """Act on a control group, selecting, setting, etc."""
  del action_space
  select = action.action_ui.control_group
  select.action = control_group_act
  select.control_group_index = control_group_id