I guess you would set CAMERA.Z to a specific amount above your player's aircraft, create a loop instruction that keeps the camera.x and camera.y cords equal to the aircrafts.x and .y cords, and by fixing the camera.tilt to -90.
Example:
function Chopper_cam()
{
while(1)
{
camera.x = aircraft.x;
camera.y = aircraft.y
camera.z = aircraft.z + 8000;
camera.tilt = -90;
wait(1);
}
}
The things you would need for this to work is
1. A POINTER to the aircraft (eg: ENTITY* CHOPPER;)
in the beggining of the script.
2. An aircraft model
3. An aircraft model ACTION
Last edited by Vonman; 09/18/08 21:47. Reason: More Details