There remains a question regarding TalkBox.
function TalkBF(num)
tlkb=num;
end;
TalkBoxForPlayers(1, '', '', GetMapDataPath().."skolko.txt", '', "TalkBF", 0, GetMapDataPath().."skolko.txt", '', 0, GetMapDataPath().."skolko1.txt", GetMapDataPath().."skolko2.txt", GetMapDataPath().."skolko3.txt", GetMapDataPath().."skolko4.txt");
Instead of an icon, a white screen is displayed. This is understandable; I don't know where to find a suitable one. The main text is not displayed (to the right of the icon). The function doesn't work as it should.
if ((dd==3) and (tlkb==1)) or ((dd==4) and (tlkb==2)) or ((dd==5) and (tlkb==3)) or ((dd==6) and (tlkb==4)) then
no matter which option is chosen in the talk box, the condition in the first parenthesis is always met.
Added after 55 seconds
Only the functions I mentioned above can be used here, as well as some others that only work with heroes. GetObjectArmySlotCreature cannot be used.
Пробуждение зла
Нашествие из Преисподней
Смена эпох
Скачать все кампании одним архивом: Яндекс.Диск Google.Диск
You can download the set of 3 Campaigns (English version) here
Одиночные сценарии Heroes V 3.1:
Незваные гости
Красный кристалл
Синий кристалл
Закат тьмы
Мультиплеерные карты для Heroes V 3.1:
Легендарная война
Сердце вулкана
Передел мира