Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5369
Auto-translated
HeroAlan
Please check what might be wrong here. Attack animations are working, I was able to remove skirts from the creatures, but death animations are not displayed.
The SetObjectEnabled function has a noticeable execution time: simply add sleep(1). I also recommend simplifying the structure:
do
local monsters={"Name1", "Name2", ... list here the names of all monsters that need to "die"}
for n, monster in monsters do
SetObjectEnabled(monster, nil)
sleep(1)
PlayObjectAnimation(monster, "death", ONESHOT_STILL)
end
end
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________