Skip to main content

Condition_HasOwnedVehicle

Description

Checks whether the specified BaseObject (character) has an owned vehicle. If S1 is specified, this condition also verifies that the owned vehicle type matches S1.

Parameters

ParameterDescription
BaseObjectThe character to validate (Self or Target).
CompareTypeEqual: has an owned vehicle (and matches S1 if provided).
NotEqual: does not have an owned vehicle (or does not match S1).
S1(Optional) Vehicle type filter (Car, Motorcycle).

Examples

DescriptionBaseObjectCommandCompareTypeS1
Checks whether self has any owned vehicle.SelfHasOwnedVehicleEqual
Checks whether self does NOT have any owned vehicle.SelfHasOwnedVehicleNotEqual
Checks whether target has an owned car.TargetHasOwnedVehicleEqualCar
Checks whether target does NOT have an owned motorcycle.TargetHasOwnedVehicleNotEqualMotorcycle