Archer30, спасибо.
Тем временем мне удалось реализовать обход позиций поля битвы в порядке увеличения расстояния до целевего гекса. Archer30, thanks.
In the meantime, I managed to implement a bypass of the battlefield positions in order of increasing distance to the target hex.