Skip to main content

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

ParameterDescription
BaseObjectSpecifies the vehicle to validate (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).

Examples

DescriptionBaseObjectCommandCompareType
Is this vehicle in auto-driving mode?SelfIsVehicleInAutoDrivingEqual
Is the target vehicle not in auto-driving mode?TargetIsVehicleInAutoDrivingNotEqual