Added 1 hour 13 minutes ago
How do I create an animation for the destruction of a city or object on the map? (For example, in the Tribes of the East campaign, when a barbarian approaches or captures a hut or castle, and it collapses). And how do I create a script so that a siege of an enemy castle begins with a hero, so that the player can siege it themselves (so that there is no auto-battle)?
AdvMapStaticShared/_(AdvMapStaticShared)/Razed/NEEDED.xdb#xpointer(/AdvMapStaticShared).
You can start a manual siege in a similar way to the StartCombat function, using the SiegeTown function. You can study this function in detail here => https://yadi.sk/d/W6cz5UBu3SGAvb, in the Theory/Script Functions.pdf folder
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________