Skip to main content

Condition_RidingVehicle

Description

Checks whether the given BaseObject (character) is riding a specific type of vehicle (S1) and whether the riding vehicle's DtId matches the expected value (S2).

Parameters

ParameterDescription
BaseObjectThe character to validate (Self or Target).
CompareTypeType of comparison operation for VehicleDtId.
S1The vehicle type to check (Car, Motorcycle, Ship).
S2The VehicleDtId to compare against.

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Checks whether self is riding a car with DtId.SelfRidingVehicleEqualCarSomeDtId
Checks whether target is NOT riding that vehicle.TargetRidingVehicleNotEqualCarSomeDtId