Auto-translated
local defH, attH = GetDefenderHero(), GetAttackerHero()
if defH then --If a defending hero is present (an attacking hero is always present), then...
if GetHeroName(defH) == ".." and GetHeroName(attH) = "...." then --If a specific hero is defending, and another specific hero is attacking, then...
--Further actions with the heroes; defH contains the name of the defending hero, attH contains the name of the attacking hero
--Also, for this second script, remove the check if Level_R>20 (and its else and end) — is this a check for Raileigh's level?
--Your code...
end
end
С уважением, }{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"
_________________