Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4880
Auto-translated
Now I have a problem with the functionalities:smile04:
I'm trying to figure them out now, and I'm doing everything exactly as written in the Ogo manual, but in the game, when entering a region, nothing happens; the hero doesn't even stop.

function CyclopsFrontF ()
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "CyclopsFront", nil);
MessageBox ("\Maps\Multiplayer\OrcTown\CyclopsFrontF.txt");
end;
I've tried everything I can think of. I've re-uploaded the text document (which, by the way, is in Unicode format, so everything should be fine) to the map archive many times, and I've changed the slashes (sometimes \, sometimes /). I found a solution to the problem here (they said it's better to write GetMapDataPath().."Deadst.txt", but I didn't understand what the two dots after the parentheses mean, whether something needs to be written there, etc.) - nothing helped.
Maybe the problem is that I have a Multiplayer map, and half of the scripts can't be used there?
P.S. And what should be written in the goblin functionalities that you provide as an example here? Or can I just upload an empty file, and it will work?