view.pan
view.tilt
view.roll

Angles of the view in the map. Can only be set by functions. The PAN angle can also be used as a vector.

Range:

0 .. 360 (default: 0)

Type:

var
view.pan also as vector

Example:

function camera_1st_view()
{
  while(player)
  {
    vec_set(camera.x, player.x);			// copy player position to camera position
    vec_set(camera.pan, player.pan); // copy player direction to camera direction
    wait(1);
  }
}

function camera_start()
{
  camera.pan = 45;			// Pan View = 45
  camera.tilt = -90;		// Tilt View = -90	
  camera.roll = 0;			// Roll View = 0	
}	

See also:

layer, pos_x, pos_y, size_x, size_y, x, y, z, arc, aspect, offset_x, offset_y, ambient, fog, fog_start, fog_end, alpha, genius, portal, flags