Skip to content

Current questions and answers regarding the map editor.

User Avatar
#4881
Auto-translated
Min_Carolin, a systematic approach is needed to solve this problem.
I'm trying to figure it 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.
Stopping upon entering a region is performed automatically if the function
Trigger(REGION_ENTER_AND_STOP_TRIGGER, 'REGION_NAME', 'FUNCTION_NAME');
has been executed. If this hasn't happened, either this function is written with an error, or any other line of code before this function is written with an error (the code completely stops executing if even one major error is made). There are methods to check this (print, first of all). Multiplayer can also be a problem. And make sure the slashes are correct. In the manual, in my signature, I described many of these things.
And what, by the way, needs to be entered in the goblin functionalities that you provide here as an example? Or can I just throw in an empty file, and it will work?
This is a piece of code that is written in a code file and performs the function you specified (the goblin mines ore). I didn't understand what you meant by "empty file."
РПГ-сценарий для HoMM5: Путь героя
ЧаВо по созданию карт для HoMM5: ЧаВо