Arma 3 Scripting

getPilotCameraOpticsMode

  • Local argument
  • Arma 3 v2.14

Command · Markdown · JSON · 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