Jump to content
Sign in to follow this  
sick1

After intro script, return control to player?

Recommended Posts

Is it possible to start a camera script, then have it return control to the player during the mission all within the actual mission and not during the intro? Can't find anything about this anywhere. Thanks!!

Share this post


Link to post
Share on other sites
player cameraEffect ["terminate","back"];

Thanks, but all of my scripts use this but it never returns control to the player. It was the first thing I tried when testing this, but no luck.

Share this post


Link to post
Share on other sites

Hi,

Are you destroying the camera?

camDestroy _cam;

_neo_

Share this post


Link to post
Share on other sites

Well I got it working thanks to all of your suggestions, but I have a new problem. I can't get the Cinema border to disappear using the command. Can some one take a look at my file and let me know whats wrong?

enableSentences false;

enableRadio false;

PLAYMUSIC "MAIN";

showCinemaBorder false;

titleCut ["", "BLACK IN", 3];

_camera = "CAMERA" camCreate [8359.56,5981.50,0.45];

_camera cameraEffect ["INTERNAL", "BACK"];

_camera camPrepareTarget [82425.31,70735.20,-9311.25];

_camera camPreparePos [9728.53,2704.14,17.65];

_camera camPrepareFOV 0.700;

_camera camCommitPrepared 0;

_camera camPrepareTarget [82425.31,70735.20,-9311.16];

_camera camPreparePos [9740.34,2716.03,17.60];

_camera camPrepareFOV 0.700;

_camera camCommitPrepared 60;

sleep 6;

_camera camPrepareTarget [-60899.94,-67698.48,-4173.07];

_camera camPreparePos [9866.31,2833.70,18.87];

_camera camPrepareFOV 0.700;

_camera camCommitPrepared 0;

_camera camPrepareTarget [-60899.94,-67698.48,-4172.94];

_camera camPreparePos [9854.90,2820.72,19.05];

_camera camPrepareFOV 0.700;

_camera camCommitPrepared 14;

sleep 6;

_camera camPrepareTarget [-18804.85,98446.86,-5878.61];

_camera camPreparePos [9852.14,2822.53,17.29];

_camera camPrepareFOV 0.700;

_camera camCommitPrepared 0;

sleep 8;

_camera camPrepareTarget c1;

_camera camPreparePos [9793.20,2705.71,55.81];

_camera camPrepareFOV 0.500;

_camera camCommitPrepared 0;

_camera camPrepareTarget c1;

_camera camPreparePos [9793.20,2705.71,55.81];

_camera camPrepareFOV 0.700;

_camera camCommitPrepared 10;

_camera camPrepareTarget c1;

_camera camPreparePos [9793.20,2705.71,55.81];

_camera camPrepareFOV 0.300;

_camera camCommitPrepared 0;

sleep 15;

_camera cameraEffect ["TERMINATE", "BACK"];

camDestroy _camera;

Share this post


Link to post
Share on other sites

Hi again,

Try to put the cinemaBorder command after creating the camera but remember that only works in SP.

_neo_

Share this post


Link to post
Share on other sites

You can also add a custom resource to act as a cinema border. This one will work also in multiplayer (wasn't aware it was only a singleplayer effect), and you can do more with it. Like i.e., add sound effects or whatever.

Eagle Wing mini campaign uses this alternate approach. Might have a look there.

Share this post


Link to post
Share on other sites

Is there any tool or command to see you're/object exact location for using it like this: _camera camPrepareTarget [82425.31,70735.20,-9311.25]; ?

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
Sign in to follow this  

×