camCommand

From Bohemia Interactive Community
Revision as of 22:35, 26 April 2020 by Lou Montana (talk | contribs) (Update description and examples)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Executes a command on the given camera / actor object. Known commands for:
All cameras "Camera" "Seagull" "CamCurator"
  • "manual on"
  • "manual off"
  • "inertia on"
  • "inertia off"
  • "landed" lands the seagull
  • "airborne" to make the seagull fly
  • "maxPitch (x)" where (x) is a number (in degrees)
  • "minPitch (x)" where (x) is a number (in degrees)
  • "speedDefault (x)" where (x) is a number
  • "speedMax (x)" where (x) is a number
  • "ceilingHeight (x)" where (x) is a number in meters
  • "atl (x)" where (x) is on/off
  • "surfaceSpeed (x)" where (x) is on/off
The camCommand changes are conducted immediately, the command doesn't wait for camCommit/camCommitPrepared.
Groups:
Uncategorised

Syntax

Syntax:
camera camCommand command
Parameters:
camera: Object - see camCreate
command: String - see description
Return Value:
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";

Additional Information

See also:
cameraEffectcamCreatecamCommit

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section