fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

AI heroes on patrol do not return to starting position

Open Branikolog opened this issue 4 years ago • 2 comments

We have multiple AI heroes standing on this map. When my hero comes too close AI hero starts moving over world map, attacks him and goes away later. At this screenshot nothing happens. image At this one AI hero attacks. image Then he goes up, and starts collecting gold piles. He makes it in strange manner killing guarding druids and returning back to sign. Then AI hero collects 1 pile and then return back to sign. After he return to sign, he stands still. (on a screenshot he stands on a sign) image AI standing.zip

Branikolog avatar Dec 03 '20 12:12 Branikolog

@Branikolog , could you please verify this issue since we change AI a lot?

ihhub avatar Feb 28 '21 13:02 ihhub

I think now it became much better. But comparing to OG I still recognize some differences: On this map we have multiple patrol heroes. In the OG they are trying to keep basic position. They can definitely move, but always tend to return back. In fheroes2, I feel, they can stand any place within patrol area without moving back.

Branikolog avatar Mar 02 '21 08:03 Branikolog

Hi @Branikolog , could you please verify this issue if it is valid or close it if it has been fixed?

ihhub avatar Aug 20 '23 14:08 ihhub

Hi, @ihhub !

The issue is still valid. Once patrol hero made all possible actions within his radius he's standing still. In the OG he tends to take his initial location, when he gather all resources, visit all objects etc.

Branikolog avatar Aug 27 '23 08:08 Branikolog