Skip to main content

Condition_IsVehicleLightsOn

Description

Checks whether the specified vehicle light flag (S1) is currently turned on.

Parameters

ParameterDescription
BaseObjectThe vehicle to validate (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).
S1Vehicle light flag to check (EB1VehicleLight).

Examples

DescriptionBaseObjectCommandCompareTypeS1
Checks whether headlights are on.SelfIsVehicleLightsOnEqualHeadLights
Checks whether brake lights are NOT on.TargetIsVehicleLightsOnNotEqualBrakeLights