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.
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
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________