SetObjectOwner("Nemor", PLAYER_5);
EnableHeroAI("Nemor", nil);
SetObjectEnabled("Nemor", nil);
DoNotGiveTurnToPlayerAIIfNoTownsAndActiveHeroes(5, true);and in the map settings, set player 5 to PCOLOR_NEUTRAL; that will be exactly what you need.
I was making a map and a question of this nature arose:
Is it impossible to build bridges?
I tried two ways:
1. via CreateStatic
2. I placed them with the orientation already set where they should be, then moved them to reserve (the corner of the map) and used the SetObjectPosition function to place them when needed
these methods do not allow the bridge to be used; it's just an object that the hero passes through
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация