Skip to content
#2780
Auto-translated
Gerter
once again, does the hero block the only possible path to the desired cell?
Yes, but in other scenarios, it's simply written as MoveHero(...), and the hero goes there, even if another hero with a huge army is blocking the way.
Gerter
then everything works according to the mechanics; CanHeroMove considers the hero an impassable obstacle. You could add a check for this situation, and if it occurs, move Erling to your hero's location, for example.
I can't even imagine how to write that :confused: