We need a function to assign a town to the first player.
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Town", "TownF")
Then write the following:
Function TownF()
SetObjectOwner("TownName", PLAYER_1);
end;
Instead of TownName, insert the name of the town, which you need to specify in the settings. (Select the town and click on the "name" field in the left panel. Write what you want. If it doesn't work, I'll write later, because I'm using my phone and don't have access to my map.