OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil on 30 Mar 2003, 10:34:45
-
Hey
How do I get the camera either in or Moving with the car?
O Neil ;)
-
I wrote a similar script to AntonVonE.
cam1 = "camera" camcreate [0,0,0]
cam1 cameraeffect ["internal","back"]
#loop
cam1 camsettarget CarOrDriver (You'll have to check bouth methods)
cam1 setcamrelpos [2,2,2] (You must play around with the values here to get the dezired effect)
cam1 setcamfov 0.7
cam1 camcommit 0
? stop : goto "end"
goto "loop"
#end
exit
Try this script.
And.. When stop=true the script will exit.
8)
-
Thxs, I'll try it ;)
O Neil