Skip to main content

Condition_VehiclePartState

Description

Checks the current state of a specific vehicle part (S1) against the expected state (S2).

Parameters

ParameterDescription
BaseObjectThe vehicle to validate (Self or Target).
CompareTypeType of comparison operation (Equal or NotEqual).
S1The vehicle part type (DriverDoor, Trunk, DriverWindow, etc.).
S2The expected part state value to compare against.

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Checks whether driver door is open.SelfVehiclePartStateEqualDriverDoorOpen
Checks whether trunk is NOT closed.SelfVehiclePartStateNotEqualTrunkClosed