Orient is used in this sentence meaning to adjust. "Samuel stood on the grassy lawn of the campus looking at his map of the school’s buildings, trying to orient himself" meant that Samuel was trying to get used to the new campus by looking at buildings.