Maybe this will clear out something:
(play with the values and change player for my)
vec_set(camera.x,player.x);
camera.z += 63;
camera.x -= 100*cos(player.pan);
camera.y -= 100*sin(player.pan);
camera.pan = player.pan;

Cheers!


New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK