Jump to content
Sign in to follow this  
TemichSablin

What's wrong in my camera script

Recommended Posts

I made a small camera script, but i have no idea why the cam is not moving as it should.

Here it is:

_camera = "camera" camCreate (position camstart);
_camera cameraEffect ["Internal", "Back"];
_camera camCommit 0
titleText ["5!", "PLAIN DOWN", 0.2]
_camera camPrepareTarget [-28910.87,95811.25,-21017.39];
_camera camPreparePos [3562.60,3601.33,3.92];
_camera camPrepareFOV 0.652;
_camera camCommitPrepared 1
@camCommitPrepared _camera

hint "Position One";
titleText ["4!", "PLAIN DOWN", 0.2]
_camera camPrepareTarget [-67467.72,-64835.79,-16186.80];
_camera camPreparePos [3613.02,3610.33,1.29];
_camera camPrepareFOV 0.652;
_camera camCommitPrepared 1
@camCommitPrepared _camera
hint "Position Two";
titleText ["3!", "PLAIN DOWN", 0.2]
_camera camPrepareTarget [95097.81,1508.23,-40278.07];
_camera camPreparePos [3602.14,3607.75,3.86];
_camera camPrepareFOV 2.000;
_camera camCommitPrepared 1
@camCommitPrepared _camera
hint "Position Three";
titleText ["2!", "PLAIN DOWN", 0.2]
_camera camPrepareTarget [103393.91,1317.83,-6127.43];
_camera camPreparePos [3609.24,3607.91,1.25];
_camera camPrepareFOV 0.937;
_camera camCommitPrepared 1
@camCommitPrepared _camera
hint "Ready?";
titleText ["1!", "PLAIN DOWN", 0.2]
_camera cameraEffect ["Terminate", "Back"];
camDestroy _camera;
~1
Hint "Move to the next checkpoint!";
titleText ["Go! Go! Go!", "PLAIN DOWN", 0.2]

If you want to test i can tell you that it's for Utes map.

Edited by TemichSablin

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  

×