object - objectX



void LookAt(int nX, int nY, int nZ, int nAlpha, int nView, int nTunnel, int nWorldNum)
void LookAt(int nX, int nY, int nZ, int nAlpha, int nView, int nTunnel, int nWorldNum, int nCameraNum)
void LookAt(int nX, int nY, int nZ, int nAlpha, int nView, int nTunnel, int nWorldNum, int nDelay,int nDirection)
void LookAt(int nX, int nY, int nZ, int nAlpha, int nView, int nTunnel, int nWorldNum, int nDelay,int nDirection, int nCameraNum)

Scope: private

Parameters
nX,nY,nZ - camera location
nAlpha - orientation
nView - view angle
nTunnel - 1 for tunnels 0 for surface
nWorldNum - world number
nDelay - time needed to get to new position
nDirection - 0 or1 left or right
nCameraNum - camera number

Return values
none

Description
It moves camera to the point specified by parameters. Most of parameters can be replaced by -1 and in that case the value will be get from current camera position.

See also