Condition_IsVehicleLightsOn
Description
Checks whether the specified vehicle light flag (S1) is currently turned on.
Parameters
| Parameter | Description |
|---|
| BaseObject | The vehicle to validate (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | Vehicle light flag to check (EB1VehicleLight). |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Checks whether headlights are on. | Self | IsVehicleLightsOn | Equal | HeadLights |
| Checks whether brake lights are NOT on. | Target | IsVehicleLightsOn | NotEqual | BrakeLights |