sunOrMoon

Operand types

None

Type of returned value

Description

Returns the sun to moon transition state.
A floating point number between 0 and 1

0 = no sun
1 = no moon

Used In

Arma2OA

Example

if (sunOrMoon <= 0.6 && sunOrMoon >= 0.4) then {_twilight = true};
Search OFPEC COMREF