OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP Elite - Editing General => Topic started by: neilreed on 11 Nov 2007, 22:26:56

Title: CAM PROBLEMS
Post by: neilreed on 11 Nov 2007, 22:26:56
Hello , people , iam having some trouble with a basic camera script , i want  to place this camera in front of player 5 meters and 1 meter up  but i get a position in the middle of the sea, with the camera bouncing up and down ? iam using desert island  please can anyone see what iam doing wrong

sample script ,

_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]


_cam camsettarget player
_cam camsetrelpos [0,0.5,1]
_camera camSetFOV 0.700
_camera camCommit 0
~8


_cam cameraeffect ["terminate", "back"]
camdestroy _cam

titlecut [" ","BLACK IN",2]


exit

 
Title: Re: CAM PROBLEMS
Post by: Planck on 12 Nov 2007, 02:05:04
One question, one topic please.

All replies here (http://www.ofpec.com/forum/index.php?topic=30585.0).


Planck