Skip to content
User Avatar
#3272
Auto-translated
Good afternoon, the console displays the following error: (Script) ERROR: "=" expected. The script itself looks like this: * Trigger(REGION_ENTER_AND_STOP_TRIGGER, 'mavzolei', 'grobniza'); function grobniza(hero) if GetObjectOwner(hero)==PLAYER_1 and hero=="Brem" then MessageBox(path.."mavzolei-boi.txt"); sleep (5); StartCombat("Brem", nil, 5, 4, 40, 12, 4, 10, 1, 12, 4, 4, 40, nil); sleep (5); MessageBox(path.."mavzolei-poisk.txt"); void GiveArtefact("Brem", 13, nBindToHero=0); Trigger(REGION_ENTER_AND_STOP_TRIGGER, 'mavzolei', nil); end; end; What is the error here?
Мои карты для:
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis