Arma 3 Scripting

Command in Pilot Camera

getPilotCameraOpticsMode

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

Description

Returns the optics mode index (zoom) for the pilotCamera

Syntax

getPilotCameraOpticsMode object

Parameters:

Returns: Number - the index of the optic mode

Examples

Example 1

getPilotCameraOpticsMode vehicle player

See also

setPilotCameraOpticsMode · hasPilotCamera · getPilotCameraPosition · getPilotCameraDirection · getPilotCameraRotation · setPilotCameraDirection · setPilotCameraRotation · setPilotCameraTarget · getPilotCameraTarget · getTurretOpticsMode · setTurretOpticsMode