Skip to main content

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

ParameterDescription
BaseObjectSelf: checks Self character's owned vehicle.
Target: checks the target vehicle.
CompareTypeType of comparison operation (Equal or NotEqual).

Examples

DescriptionBaseObjectCommandCompareType
Checks whether any seat of target vehicle is occupied.TargetIsAnyVehicleSeatOccupiedEqual
Checks whether owned vehicle has no occupied seats.SelfIsAnyVehicleSeatOccupiedNotEqual