Arma 3 Scripting

Command in Camera Control

camCommand

Also available as Markdown and JSON, or read the original wiki page.

Description

Executes a command on the given camera / actor object. Known commands:

All cameras "Camera" "Seagull" "CamCurator"
- "manual on"
- "manual off"
- "inertia on"
- "inertia off"
- "landed" lands the seagull
- "airborne" makes the seagull fly
- "maxPitch (x)" (number, in degrees)
- "minPitch (x)" (number, in degrees)
- "speedDefault (x)" (number)
- "speedMax (x)" (number)
- "ceilingHeight (x)" (number, in meters, ASL)
- "atl (x)" (on/off)
- "surfaceSpeed (x)" (on/off)

Note

The camCommand effect is immediate and does not need camCommit/camCommitPrepared.

Syntax

camera camCommand command

Parameters:

Returns: Nothing

Examples

Example 1

_camera camCommand "manual on";

Example 2

private _camera = "CamCurator" camCreate [0,0,0];
_camera camCommand "maxPitch 89";
_camera camCommand "minPitch -89";
_camera camCommand "speedDefault 0.1";
_camera camCommand "speedMax 2";
_camera camCommand "ceilingHeight 5000";
_camera camCommand "atl off";
_camera camCommand "surfaceSpeed off";

See also

cameraEffect · camCreate · camCommit