Do a command that needs a point on the minimap.

def cmd_minimap(action, action_space, ability_id, queued, minimap):
  """Do a command that needs a point on the minimap."""
  action_cmd = spatial(action, action_space).unit_command
  action_cmd.ability_id = ability_id
  action_cmd.queue_command = queued
  minimap.assign_to(action_cmd.target_minimap_coord)