Skip to content

Current questions and answers regarding the map editor.

User Avatar
#1459
Auto-translated
zehir12
I fixed it to: function blockF()
MessageBox("/Maps/RMG/4939-1686-2472-1326reymushestvo/block.txt");
end;

Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF")
But it still doesn't work. And the console displays an error!

Remove the line break before the Trigger line, and you also forgot the slash (corrections are highlighted in bold):
function blockF()
MessageBox("/Maps/RMG/4939-1686-2472-1326/preymushestvo/block.txt");
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "block", "blockF");
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля