Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4700
Auto-translated
Trigger(NEW_DAY_TRIGGER, 2);
But the console says I have an error.
(Script) ERROR: expected;
last token read `2' at line 1 in string "parse"
In a free translation, the last line means:
"The last thing I managed to read before the crash was the number 2."
And the reason is slightly higher, because the new day trigger expects a string with the function name as the second parameter, but you have a number 2 there.
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо