-
How to make camera follow unit?
I looked a post that asked the same question and the script was this:
_camera = "camera" camCreate [0,0,0]
_camera cameraEffect ["internal","back"]
_camera camcommit 0
@camCommitted _camera
#camloop
_camera camsettarget NAMEoftheUNIT
_camera camsetRelpos [0,-5,2]
_camera camcommit 0
?(VARIA==1): goto "camloop"
It works but the camera doesn't move and follow the unit. It just watches the unit. It doesn't work if I want the camera to follow a car to another side of island. So how can I do that?
EDIT: I took this: ?(VARIA==1): off and now it works
Last edited by Suomileijona; Jul 31 2010 at 13:44.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules