OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Komuna 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.:
_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.
-
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.
_cam setBank 120
_camCommit 10In my mind should be
_cam camsetBank 120
_cam camCommit 10
*cough* uhm.. same thing with the upper part of the script.
_cam = "camera" camCreate [4000,3000,10]
_cam settarget [4020,3020,10]
_cam setFov 0.1
_cam setBank 20 //Tried also decimal values
_cam camCommit 0should be
_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.
-
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
-
they don't work, don't think they ever have.
-
I apreciate your post Black_Feather. Thanks.
As the solution is unexistant, this topic becomes "Solved". Just IM me if you have the ansr.