Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:Returns the mode of the active camera view. Can be:
  • "INTERNAL" (1st person)
  • "EXTERNAL" (3rd person)
  • "GUNNER" (optics / sights)
  • "GROUP" (commander view)
If the scene is currently viewed through a scripted camera, the command returns the status of the last mode, before starting the camera script.

Syntax

Syntax:cameraView
Parameters:
Return Value:String

Examples

Examples:

if (cameraOn == _vehicle && cameraView == "External") then
{
_vehicle switchCamera "Internal";
};

Additional Information

See also: switchCamera, cameraOn, cameraEffect
Multiplayer: 
Problems: 

Notes