Well, please try to understand how the system work before saying
things can
be solved by easy hacks. Actually there is one gradient for all guard
areas
of one team and the unit just do a gradient descent. If you want to do
per-guard areas, that's much more memory, but also a clustering
algorithm,
not very difficult but takes human times to do and computer time to
run,
then you need to find some sort of score otherwise warriors will
always
walk between areas. So you can see, that's not so easy as a "quick
hack".
And you please try to understand what i explained, i know very well
that there
is only one area and that you don't consider zones that are not
connected as
different zones! I didnt speak about multiple areas but probably wasnt
clear... What i suggested was to move a warrior to a more or less
randomly
chosen part of the guard area - not just move it to the nearest one.
Something like if warrior didnt find a war flag or upgrade where to go
and
thus wants to go to a guard area, then not simply go to the nearest
"sprite"
of the guard area, but consider all the "sprites" of guard areas
within a
certain range