Bot vehicles, such as the horse
Well duh, that's because they're not vehicles. They're just mountable.
They don't fall under $TypeMasks::VehicleObjectType, either.
So neither code works 100%.
if ((%obj.getType() & $TypeMasks::VehicleObjectType) || %obj.getDatablock().nummountpoints > 0)Oh lookie!