Skip to content
User Avatar
#2139
Auto-translated
Elikuz
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.
I can suggest a script for the AI to become "interested" in a certain object. However, you will have to keep the hero in one place. Here is the script:
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%