currentVisionMode unit

Operand types

unit: Object

Type of returned value

Description

Returns current vision mode of unit's weapon.

Daytime = 0
Night vision = 1
FLIR = 2

Used In

Arma2OA

Example

if (currentVisionMode player == 1) then {
hint "nightvision active";
};
Search OFPEC COMREF