Condition_IsVehicleInAutoDriving
Description
This condition function determines whether the specified vehicle (BaseObject) is currently in auto-driving mode.
The evaluation result is compared against the given CompareType:
- Equal : Condition is true if the vehicle IS in auto-driving mode.
- NotEqual : Condition is true if the vehicle is NOT in auto-driving mode.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Specifies the vehicle to validate (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Is this vehicle in auto-driving mode? | Self | IsVehicleInAutoDriving | Equal |
| Is the target vehicle not in auto-driving mode? | Target | IsVehicleInAutoDriving | NotEqual |