Auto-translated
Okay, thank you very much, I will look for the error more carefully. In general, yes, it seems that only my carelessness is to blame, perhaps I misunderstood something. I started reviewing your guide – it has already helped me with many nuances, and I will continue studying it. I decided that I will only start working with trigger scripts when I start working on a single-player map: maybe then things will go more smoothly. The only thing I would like to know is where the game's resources are located (I need this to, for example, change the icon of a hero's special ability in the shared section, which I already mentioned in my first comment). And is it possible to add something of my own to these resources (for example, add my own audio recording to the folder with ambient music, so that I can then attach it to the hero's adventure music in his shared section)?
And also, as I also wrote in my first comment, is it possible to attach a creature model from a mod to a hero. They are simply not visible; there are only vanilla models, there are even models from the campaign videos, but there are no custom models from NCF, I checked the neutral section.
P.S. By "function," I meant that the archive with the map should contain text documents with some kind of artistic text (as in the case of MessageBox), or, perhaps, I don't know, I just assumed, in the form of script snippets, and this text document performs the function, I apologize for the tautology.