Posts from Current questions and answers regarding the map editor.
Auto-translated
townTypeID - the type of the new town. By the way, using this function, you can first change the town type to Haven and then destroy it.
TransformTown('town', 0)
RazeTown('town')
TransformTown('town', 0)
sleep(5)
RazeTown('town')
or
TransformTown('town', 5)
sleep(5)
RazeTown('town')
or
TransformTown('town', 0)
sleep(5)
RazeBuilding('town')
?
1. +
2. +
3. +
Thank you very much.
Now I need to figure out how to destroy/raze other towns, as well as buildings with creatures.
KioM already wrote about this.
If the methods mentioned above don't work, then I don't know any other solutions.
you can use it as a model for a ruined city, for example, a log or a stone. But it won't be possible to position a hero on the former outline of the city (a circle with a radius of 6).
If the methods mentioned above don't work, then I don't know any more.
It will work when the destruction of the city actually changes one object (a city with blocked tiles, which is what you were talking about) to another, where the tiles don't need to be blocked. If there is no model in the new object, and the tiles are not defined, then after the city is destroyed, the game will leave an empty space where the hero can move.
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация
NHF 0.90 : NHF - группа в VK
Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...