That's even easier; just rotate the entity that controls the camera in the proper direction like this:

if (location == 1)
{
my_entity.pan = 150; // my_entity is the entity that controls the camera
}