Skip to main content

Condition_IsDriver

Description

This condition function determines whether the specified BaseObject (character) is currently sitting in the driver's seat of a vehicle. (EB1VehicleSeat::Driver)

The evaluation result is compared against the given CompareType:

  • Equal : Condition is true if the character IS sitting in the driver's seat.
  • NotEqual : Condition is true if the character is NOT sitting in the driver's seat.

Parameters

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

Examples

DescriptionBaseObjectCommandCompareType
Is self sitting in the driver's seat?SelfIsDriverEqual
Is target not sitting in the driver's seat?TargetIsDriverNotEqual