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


Introduced in

Version:2.00

Description

Description:Returns the current vision mode of the unit weapon:

Syntax

Syntax:currentVisionMode unit
Parameters:
Return Value:

Number - Can be:

    • 0 - Daytime
    • 1 - Night vision
    • 2 - FLIR

Examples

Examples:
_currMode = currentVisionMode gunner _tank
if (currentVisionMode player==1) then {hint "nightvision active"}

Additional Information

See also: opticsState, cameraView
Multiplayer: 
Problems: 

Notes