Auto-translated
Here's the question: I want to make it so that the hero of team 1 (AI) patrols a specific path. I know that something similar was done in the first map of the third campaign (where Markel has to avoid being caught by the mages' patrol), but I looked at the scripts, and it's a nightmare for me as a beginner in scripting. So, the question is: is there a way to simplify the script for the mages' patrol from that mission? And there's also a line there with the detection radius, which, apparently, if Markel is within that radius, the enemy hero will pursue him. But in my map, there's a problem here. Let's say I set everything up correctly, but the patrolling hero from team 1 will pass near the city of team 2 (the enemy). Won't he capture the city, and will the script break? Thanks in advance for the answers.