In the demon campaign, there's a mission where the fog of war closes. Maybe you can see something there?
It can't be configured for specific parts.
SetWarfogBehaviour(onLand, onSea);
Instead of onLand, write 0 so that the player cannot "remove" the fog of war by moving on land; otherwise, write 1.
Instead of onSea, write 0 so that the player cannot "remove" the fog of war by moving on water.
Added 14 minutes later
You can create a feature where, when used, it hides all open parts for opponents. But this is more suitable for the NTBF mod. For example, when building a building. But this is no longer "Veil of Darkness." And it's a one-time effect, unless otherwise configured.
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...