function tainiki()
while 1 do
* if HasArtefact("Brem", 23) and if HasArtefact("Brem", 28) and if HasArtefact("Brem", 68) then
* * SetObjectiveState("dopzadanie2", OBJECTIVE_COMPLETED);
* * break
* end;
sleep (2);
end;
end;
if GetDate(DAY)==8 then
MessageBox(path.."day8.txt");
SetObjectiveState("dopzadanie2", OBJECTIVE_ACTIVE, 1);
startThread(tainiki)
end;
the MapScriptEditor program reports an unexpected character near the if statement (in the tainiki function). The condition for completing the task should be the presence of three artifacts with the hero. What is wrong here? :o
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis