Condition_IsAnyVehicleSeatOccupied
Description
Checks whether any seat of the given vehicle is occupied.
This is the "any seat" variant of Condition_IsVehicleSeatOccupied (no S1 required).
If BaseObject is Self, this function checks the vehicle owned by the Self character.
Parameters
| Parameter | Description |
|---|
| BaseObject | Self: checks Self character's owned vehicle. |
| Target: checks the target vehicle. |
| CompareType | Type of comparison operation (Equal or NotEqual). |
Examples
| Description | BaseObject | Command | CompareType |
|---|
| Checks whether any seat of target vehicle is occupied. | Target | IsAnyVehicleSeatOccupied | Equal |
| Checks whether owned vehicle has no occupied seats. | Self | IsAnyVehicleSeatOccupied | NotEqual |