Arma 3 Scripting

Command in Camera Control

camCreate

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

Description

Create a camera or a seagull object on the given position. The creation happens immediately and doesn't wait for camCommit.

Among other commands, cameraEffect must be used to enter the camera's view and camDestroy to delete the created camera. See also Camera Control.

Important

  • Other objects can be created this way, but vehicles created with camCreate cannot be entered
  • Any unit created with camCreate will remain static
  • Unlike createVehicle, objects are created exactly at the given position, without consideration of the surrounding objects.

Syntax

type camCreate position

Parameters:

Returns: Object - the created camera

Examples

Example 1

_cam = "camera" camCreate (ASLToAGL eyePos player);

Example 2

_flr = "flare" camCreate (position _myPlane); // works too

Multiplayer

camCreated objects are only visible locally (meaning they are client-side effects).

See also

camCommand · camDestroy · camSetFocus · camCommit · setPiPEffect · createVehicle · createUnit · showCinemaBorder · cameraEffect · cameraEffectEnableHUD