Arma 3 Scripting

Command in Camera Control, Remote Control

cameraOn

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

Description

Returns the vehicle to which the camera is attached. If you need the person, see focusOn.

Syntax

cameraOn

Returns: Object - vehicle

Examples

Example 1

_object = cameraOn;

See also

switchCamera · cameraView · cameraEffect · focusOn · remoteControl