Jump to content

Recommended Posts

So the basic premise is this. I have a camera that I create and attach to a vehicle in order to create a cinematic. The cam.sqf file I have made is triggered from a addaction attached to a unit. The problem I am having is that when I trigger the camera and my view moves to where it is set I have no way of undoing the movement except for opening the BIS camera and the closing it thus resetting my view.
I'm hoping there is an easier way of switching back to my player so I can trigger the next camera when I want to.

 

Below is the code for the camera and the trigger.

player addaction ["Air1 - Cam1", "cam1.sqf"];
//cam1.sqf
camera = "camera" camcreate [0,0,0];
camera cameraeffect ["internal", "back"];
camera attachTo [aircraft1, [0, 0, 0]];
camera setDir 0;
camera camPrepareFOV 0.750;
camera camCommit 0;
showCinemaBorder false;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×