Compare Vehicle Name
Battlefield 6 Scripting Docs / mod / mod / CompareVehicleName
function CompareVehicleName(vehicle, vehicleList): boolean;
Defined in: mod/index.d.ts:22103
Returns a boolean indicating if the target vehicle has the same name as the provided vehicle or if it is the same type as the provided vehicle type.
| Parameter | Type |
|---|---|
vehicle |
Vehicle |
vehicleList |
VehicleList |
boolean