Skip to content
User Avatar
#1484
Auto-translated
Heroist
I have a question:
I place a powerful hero with AI, level 20, at the beginning of the game, but I disable him until my hero levels up enough for a battle. However, several problems arise:
a) The AI hero is placed directly in the city: the AI doesn't want to send out its heroes, and it hires them, places the disabled hero in the garrison, but still doesn't send out its own.
b) The AI hero is one tile away from the city: the AI hires heroes, but sends the entire army to the disabled hero, which makes the game less interesting, as he already has an army.

How can I make the AI ignore its own hero if it is disabled?

EnableHeroAI("name", nil)
SetObjectEnabled("name", nil)

won't work?
Кампании для Heroes V 3.1 (Трилогия):

Пробуждение зла
Нашествие из Преисподней
Смена эпох

Скачать все кампании одним архивом: Яндекс.Диск Google.Диск

You can download the set of 3 Campaigns (English version) here


Одиночные сценарии Heroes V 3.1:


Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы

Мультиплеерные карты для Heroes V 3.1:

Легендарная война
Сердце вулкана
Передел мира

Statistics

Welcome our newest member: leyu