Random walks with internal degrees of freedom: II. First-hitting probabilities