I apologize, how can I force the AI to attack a specific hero, regardless of the danger? So that it rushes towards the player from the very first turn, no matter how dangerous it is, even if the hero is in a castle.
void SetAIPlayerAttractor( sObjectName, nPlayerID, nPriority ) The priority can range from -1 to 2.
Or, here is another script, which will make the hero simply jump to a point with the specified coordinates (during its turn, of course, and if it has move points).
void MoveHero( sHeroName, nX, nY, nFloorID = GROUND )
Хаос во всём тоже порядок...
Кампания Седьмое затмение. Грань Империи.
В стадии разработки 10%