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



Introduced in

Version:2.11

Description

Description:

Returns the FOV (Field of Vision) for a unit.

Optics are only considered for personal weapons. If the user is looking through the optics of a vehicle or static weapons, the default FOV is returned.

Syntax

Syntax:getCameraFOV unit
Parameters:
Return Value:Number - Current FOV. The smaller the FOV, the larger the magnification factor (default: 0.95).

Examples

Examples:
_zooming =  (getCameraFOV unit1<.95)

Additional Information

See also: opticsState, getMuzzleOpticsZoom
Multiplayer: 
Problems: 

Notes