Arma 3 Scripting

Command in Camera Control

cameraView

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

Description

Returns mode of active camera view. Mode is one of:

Syntax

cameraView

Returns: String

Examples

Example 1

if (cameraOn == _vehicle && cameraView == "EXTERNAL") then
{
    _vehicle switchCamera "INTERNAL";
};

See also

switchCamera · cameraOn · cameraEffect