Skip to content

Current questions and answers regarding the map editor.

User Avatar
#2525
Auto-translated
Guys, can you help me figure out what the error is? I'm learning scripting from scratch.
There's a building called NothPort, and when a hero enters it, a message appears. Can you help me find the error?
function 1messageF()
MassageBox("/Maps/SingleMissions/BettaQuestMap/1massage.txt");
Trigger(OBJECT_TOUCH_TRIGGER,"NothPost",nil);
end;
ArgObjectEnabled("NothPost",false);
Trigger(OBJECT_TOUCH_TRIGGER,"NothPost","1messageF");