isLightOn

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.32
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.32

Description

Description:
Returns true if vehicle headlights are on otherwise false.

Syntax

Syntax:
isLightOn vehicle
Parameters:
vehicle: Object
Return Value:
Boolean

Examples

Example 1:
_lightsOn = isLightOn vehicle player;
Example 2:
_pilotLightOn = isLightOn heli;

Additional Information

Multiplayer:
-
See also:
setPilotLightisCollisionLightOnsetCollisionLightisIRLaserOn

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section