Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5233
Auto-translated
Another question arose. What's wrong with this script?

Trigger(REGION_ENTER_AND_STOP_TRIGGER, 'Alteris-ruini', 'RegionEnter');
function RegionEnter(Itil)
MessageBox(path.."Alteris.txt");
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, 'Alteris-ruini', nil);
end;

The idea is this: when Ilfina enters the region Alteris-ruini, a text message should appear, and then the script should stop.
And another question: is it possible to ensure that if there is an error with one of the scripts, the others will still execute correctly? Because after adding this script, the script with messages for each day of the game stopped working.