Skip to content
User Avatar
#3204
Auto-translated
EnterEsc
Need help again. How do I make enemy heroes pursue your hero and engage in battle with him, even if the battle is a losing one for them? SetAIHeroAttractor and SetAIPlayerAttractor don't work.
Set the "attractiveness" value to "2," which means "forget about the dangers and run to fight him." At least, that's how it worked for me. I think if these functions don't help, you'll have to use more complex schemes, like taking the coordinates of your hero and setting the computer to run to them using MoveHero, repeating this every day, and in some thread, checking if CalcHeroMoveCost(...) < 100, then StartCombat(...). I think such a scheme will suit you, right?)
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________