Could use something like this.
Code
// Create the boat
_boat = "B_Boat_Transport_01_F" createVehicle position player;
_boat setPos [getPos player select 0, getPos player select 1, 0]; // Set the boat's position
// Create the camera
_camera = "camera" camCreate [0,0,0];
_camera cameraEffect ["internal", "BACK"];
_camera camSetTarget _boat; // Set the camera to follow the boat
_camera camSetRelPos [0, -10, 3]; // Set the relative position of the camera
_camera camCommit 0;
// Move the boat to its destination
_boat doMove (getMarkerPos "destination"); // Replace "destination" with the name of your destination marker
// After a certain time, stop the camera
sleep 20; // Replace 20 with the number of seconds you want the camera to follow the boat
_camera cameraEffect ["terminate", "BACK"];
camDestroy _camera;
Alles anzeigen