Hello. I'm writing about what seems like a simple issue. After the QuestionBox, when the OK option is selected, a battle should start (this battle should take place with the hero who made the choice, not with a specific hero). But the console throws an error and says something like: Hero "1" does not exist. I understand that I've made a mistake somewhere with the hero variable and probably don't know something about all of this. I would like to know what I forgot to add to the scripts this time. Thank you in advance.
function DwarfCombat(hero)
StartCombat(hero, nil, 4, CREATURE_STONE_DEFENDER, 175, CREATURE_BERSERKER, 65, CREATURE_FLAME_KEEPER, 45, CREATURE_WARLORD, 35, nil, 'ringfound', nil)
end;
Кампании: "Новый порядок", "Серый Альянс", "Поиски Истины"
Трейлер №2 кампании "Дыхание Пустоты": https://www.youtube.com/watch?v=XkHKXk5BctA&ab_channel=%D0%90ndrei_21