Auto-translated
Replace one building with another on the adventure map, where you can purchase creatures. For example, replace a Demon Tower with an Archers Tower. I will create the condition explaining why it should be changed; I am interested in the process itself. Because I don't know how to delete a building.
But the easiest way is to use the function
ReplaceDwelling(name, newTownType, [creatureId1, [creatureId2,
[creatureId3, [creatureId4] ] ] ] )
TownType is the new race of the dwelling. It transforms into a dwelling of the same level (so, an Archers Tower will turn into a Necropolis or a Rampart). It is not necessary to specify the IDs of the new creatures; then, the game itself will set the creatures available for hire, which are by default in this type of dwelling.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________