moveInAny is somewhat nice but half baked command. Instead of returning the assignedVehicleRole (the seat in a vehicle) it returns nothing.
So there is no way of checking if command was succesful and unit entered the vehicle.
If not the seat, at least return true or false boolean like you did with assignAsCargoIndex command.