OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mikeyfish90210 on 12 Nov 2003, 16:53:11
-
Ok put this in as a script in this guys waypoint;
;stan camera
_cam = "camera" camcreate [-70428.65,68612.82,-8747.02]
_cam cameraeffect ["internal", "back"]
;=== 22:24:02
_camera camSetTarget stan
_camera camSetPos [9703.26,9543.41,43.07]
_camera camSetFOV 1.424
_camera camCommit 0
@camCommitted _camera
titlecut ["","BLACK ON",2]
~2
And it has a lovely picture of the sea, can anyone help me with this script, please, im on the nogova map!!!
-
Hey !
Give your camera the same name ! Either "_cam" or "_camera" !
Ig.
-
Ok completly changed script after readin messiah's tute;
;=== 16:01:56
-cam = "Camera" camcreate [4394.15,12212.46,0.32]
-cam cameraeffect ["internal","back",2]
_cam camSetTarget [4394.15,12212.46,0.32]
_cam camSetPos [9698.25,9594.44,43.93]
_cam camSetFOV 2.000
_cam camCommit 0
@camCommitted _camera
titlecut ["","BLACK iN",2]
~2
Got this error message;
'-cam cameraeffect ["internal","back",2] l#l':Error type number, expect object :(
-
no need for a number in this line:
-cam cameraeffect ["internal","back",2]
and if you'll notice in both this line and the one above it you've refered to the cam as -cam where it should be _cam
-
Thankyou so much!!!!!!!! Wow i didn't think that the forums would make me progress as a script, thanks thats made my day being able to do that! ;D ;D ;D
-
Yo, where can I get that Messiah's cutscene turorial? got a question that im sure it can answer
-
here (http://www.ofpec.com/editors/browse.php?browsewhat=1)
#22 on the list ;)
-
Thanks