vehicleName setPilotLight set

Operand types

vehicleName: Object
set: Boolean

Type of returned value

Description

Switches headlights of a vehicle on/off.
Note that the vehicle has to be local, for global variant use Arma 3 Actions "LightOn"/"LightOff"

Used In

Arma3

Example

car setPilotLight true;
Search OFPEC COMREF