And why should the death animation work if it isn't defined anywhere in your block?!
SetObjectEnabled("w", nil)
SetDisabledObjectMode("w", DISABLED_INTERACT)
sleep(1)
SetMonsterSelectionType("w", 0)
sleep(1)
PlayObjectAnimation("w", "death", ONESHOT_STILL)
I tested this structure, and it works.
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________