lightIsOn lamppost
Operand types
Type of returned value
Description
Check if lampost is on (shining).
Possible values are:
* "ON"
* "OFF"
* "AUTO" (auto is only on during the night).
Used In
OFP/ArmA
Example
lightIsOn nearestObject [player, "StreetLamp"] != "OFF";
_it = lightIsOn object 159582; .... <i>object command not supported in ArmA</i>