Home   Help Search Login Register  

Author Topic: camera.sqs continues  (Read 1025 times)

0 Members and 1 Guest are viewing this topic.

xenofanes

  • Guest
camera.sqs continues
« on: 12 Nov 2002, 15:39:10 »
I would only like to know why the camera.sqs isn't able to target a unit, only coordinates? This for example doesn't work:


;=== 13:49:34
_camera camSetTarget [unit1]
_camera camSetPos [9413.33,1358.22,2.00]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera


And oh! It does work if you change the name of the camera to
let's say cam:

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

;=== 13:49:34
_cam camSetTarget [unit1]
_cam camSetPos [9413.33,1358.22,2.00]
_cam camSetFOV 0.700
_cam camCommit 0
@camCommitted _cam

So I don't need any solutions to that. :)

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:camera.sqs continues
« Reply #1 on: 13 Nov 2002, 06:16:18 »
its just

_camera camSetTarget unit1

xenofanes

  • Guest
Re:camera.sqs continues
« Reply #2 on: 13 Nov 2002, 10:09:15 »
I appologise for my stupidity, I should've known. Thanks for the help! ;)