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
| Parameter | Description |
|---|---|
| BaseObject | Specifies the object to validate (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Is self sitting in the driver's seat? | Self | IsDriver | Equal |
| Is target not sitting in the driver's seat? | Target | IsDriver | NotEqual |