{"name":"camCommand","operator":null,"title":"camCommand","type":"command","url":"https://community.bistudio.com/wiki/camCommand","revid":369082,"updated":"2024-09-02T20:36:38Z","groups":["Camera Control"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Executes a command on the given *camera / actor* object. Known commands:\n\n| All cameras | \"Camera\" | \"Seagull\" | \"CamCurator\" |\n|---|---|---|---|\n| - `\"manual on\"`<br>- `\"manual off\"` | - `\"inertia on\"`<br>- `\"inertia off\"` | - `\"landed\"` lands the seagull<br>- `\"airborne\"` makes the seagull fly | - `\"maxPitch (x)\"` (number, in degrees)<br>- `\"minPitch (x)\"` (number, in degrees)<br>- `\"speedDefault (x)\"` (number)<br>- `\"speedMax (x)\"` (number)<br>- `\"ceilingHeight (x)\"` (number, in meters, ASL)<br>- `\"atl (x)\"` (on/off)<br>- `\"surfaceSpeed (x)\"` (on/off) |\n\n> [!NOTE]\n> The camCommand effect is immediate and does not need camCommit/camCommitPrepared.","syntaxes":[{"syntax":"camera camCommand command","since":null,"effect":null,"exec":null,"params":[{"name":"camera","type":"Object","optional":false,"default":null,"description":"see camCreate","types":["Object"],"since":null,"text":"camera: Object - see camCreate"},{"name":"command","type":"String","optional":false,"default":null,"description":"see description","types":["String"],"since":null,"text":"command: String - see description"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"camera","types":["Object"]},"right":{"text":"command","types":["String"]}}],"examples":[{"text":"```sqf\n_camera camCommand \"manual on\";\n```","code":["_camera camCommand \"manual on\";"]},{"text":"```sqf\nprivate _camera = \"CamCurator\" camCreate [0,0,0];\n_camera camCommand \"maxPitch 89\";\n_camera camCommand \"minPitch -89\";\n_camera camCommand \"speedDefault 0.1\";\n_camera camCommand \"speedMax 2\";\n_camera camCommand \"ceilingHeight 5000\";\n_camera camCommand \"atl off\";\n_camera camCommand \"surfaceSpeed off\";\n```","code":["private _camera = \"CamCurator\" camCreate [0,0,0];\n_camera camCommand \"maxPitch 89\";\n_camera camCommand \"minPitch -89\";\n_camera camCommand \"speedDefault 0.1\";\n_camera camCommand \"speedMax 2\";\n_camera camCommand \"ceilingHeight 5000\";\n_camera camCommand \"atl off\";\n_camera camCommand \"surfaceSpeed off\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["cameraEffect","camCreate","camCommit"],"notes":[],"categories":[]}