currentVisionMode unit
Operand types
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";
};