Condition_IsVehicleSeatOccupied
Description
Checks whether the specified seat (S1) of the given vehicle is occupied.
Note: For some interactions (e.g., embark/disembark, seat shift), a seat may be treated as
"occupied" even before a passenger is seated if the interaction/slot is already reserved.
Parameters
| Parameter | Description |
|---|
| BaseObject | The vehicle to validate (Self or Target). |
| CompareType | Type of comparison operation (Equal or NotEqual). |
| S1 | The seat to check (Driver, Passenger0, Passenger1, etc.). |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|
| Checks whether driver seat is occupied. | Self | IsVehicleSeatOccupied | Equal | Driver |
| Checks whether passenger seat is empty. | Self | IsVehicleSeatOccupied | NotEqual | Passenger0 |