Ok I did that and it still will not work here is an updated version:
dofile "flightcommander.lua"
function mycallback()
end
function nav1_create()
start_time = Mission_getElapsedTime();
donetime = start_time + 27000;
end
function nav1_during();
now = Mission_getElapsedTime();
if not started then
if now > start_time then
Music_play("Saviour_Dead.mp3");
Cutscene_start(true, "mycallback");
Overlay_setEnabled(true);
Overlay_setText("...Death was the price Saviour paid, but he saved hundereds.");
Ship_setAIEnabled("sar", false);
Ship_setMaxVelocity("sar", 150.0);
Ship_setDesiredVelocity("sar", 1.0);
Camera_setCameraType(CAMERA_AUTOPILOT);
Camera_setFocusShip(true, "sar");
started = true;
end
else
if now > donetime then
Mission_exit();
end
end
end
I have compared it to yours eddieb, and it looks like everything is in order, yet its still a crash to desktop, and I think it has something to do with the camera... or the disable AI, but I can't figure out what it is.