Editors Depot - Mission Editing and Scripting > OFP Elite - Editing General

CAM PROBLEMS

(1/1)

neilreed:
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

 

Planck:
One question, one topic please.

All replies here.


Planck

Navigation

[0] Message Index

Go to full version