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
| Parameter | Description |
|---|
| BaseObject | The character to validate (Self or Target). |
| CompareType | Type of comparison operation for VehicleDtId. |
| S1 | The vehicle type to check (Car, Motorcycle, Ship). |
| S2 | The VehicleDtId to compare against. |
Examples
| Description | BaseObject | Command | CompareType | S1 | S2 |
|---|
| Checks whether self is riding a car with DtId. | Self | RidingVehicle | Equal | Car | SomeDtId |
| Checks whether target is NOT riding that vehicle. | Target | RidingVehicle | NotEqual | Car | SomeDtId |