Skip to content
User Avatar
#3512
Auto-translated
Does the function `MakeHeroReturnToTavernAfterDeath("", true);` have any side effects? For example, I'm using this function in my map and have written it like this:
`MakeHeroReturnToTavernAfterDeath("hero1", true);`
`MakeHeroReturnToTavernAfterDeath("hero2", true);`
`MakeHeroReturnToTavernAfterDeath("hero3", true, 1);`
`MakeHeroReturnToTavernAfterDeath("hero4", true, 1);`

All 4 heroes appear on the map at the same time, then they can die in a random order and be re-hired by the AI. Will there be any errors in this situation that I'm not aware of?
Кампании для 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