Auto-translated
Good lord, what are you writing? Why did you put everything together in one place? Create a function, as I wrote in the message above.
And make the StartScene function and everything related to it separate. But it already has startThread(CreatureXXXShouldSurvive, "hero name", creature ID). And also, you only need to replace with your own ideas where there is something obvious to replace: XXX or a Russian phrase.
P.s. I'm writing from my phone, but when I get home to my PC, I'll write you a completely correct script if you don't figure it out yourself.
С уважением, }{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"
_________________