Home   Help Search Login Register  

Author Topic: CamSCRIPTING: Using bank,dive&dir commands  (Read 1597 times)

0 Members and 1 Guest are viewing this topic.

Komuna

  • Guest
CamSCRIPTING: Using bank,dive&dir commands
« on: 06 Oct 2003, 15:23:32 »
What shall I do to get the following commands to work:
camSetBank, camSetDir, camSetDive ?

I've tried everything and they seem not to work...  :-\

E.g.:

Quote
_cam = "camera" camCreate [4000,3000,10]
_cam settarget [4020,3020,10]
_cam setFov 0.1
_cam setBank 20 //Tried also decimal values
_cam camCommit 0

_cam cameraEffect ["internal","top"]

_cam setBank 120
_camCommit 10

... nothing happens.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:CamSCRIPTING: Using bank,dive&dir commands
« Reply #1 on: 06 Oct 2003, 17:19:25 »
I'm not familiar with these commands but I noticed you had some clitches in your script..

_cam is the name of the camera you create, which is cool, but you've confused the command and the camere name together.
Code: [Select]
_cam setBank 120
_camCommit 10
In my mind should be
Code: [Select]
_cam camsetBank 120
_cam camCommit 10

*cough* uhm.. same thing with the upper part of the script.

Code: [Select]
_cam = "camera" camCreate [4000,3000,10]
_cam settarget [4020,3020,10]
_cam setFov 0.1
_cam setBank 20 //Tried also decimal values
_cam camCommit 0
should be
Code: [Select]
_cam = "camera" camCreate [4000,3000,10]
_cam camsettarget [4020,3020,10]
_cam camsetFov 0.1
_cam camsetBank 20 //Tried also decimal values
_cam camCommit 0

Those are the ones I found, but I'm not an expert though.
Not all is lost.

Komuna

  • Guest
Re:CamSCRIPTING: Using bank,dive&dir commands
« Reply #2 on: 06 Oct 2003, 17:27:32 »
Eh! Thanks... But the syntax i used in my original sqs is right... I use camSetBank and camSetDir, etc... C'mon... I'm not a newbie. ;D

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:CamSCRIPTING: Using bank,dive&dir commands
« Reply #3 on: 06 Oct 2003, 20:54:45 »
they don't work, don't think they ever have.

Komuna

  • Guest
Re:CamSCRIPTING: Using bank,dive&dir commands
« Reply #4 on: 07 Oct 2003, 14:55:14 »
I apreciate your post Black_Feather. Thanks.

As the solution is unexistant, this topic becomes "Solved". Just IM me if you have the ansr.