Arma 3 Scripting

Command in Pilot Camera

setPilotCameraOpticsMode

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

Description

Sets the optics mode index (zoom) for the pilotCamera

Syntax

object setPilotCameraOpticsMode index

Parameters:

Returns: Nothing

Examples

Example 1

vehicle player setPilotCameraOpticsMode 0

See also

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