Skip to content

Wand with a spell and the hero's line of sight.

User Avatar
#4
Auto-translated
SetWarfogBehaviour(0,0)

function SetHeroLookRange(hero, range)
print(Range)

while 1 do
local x,y,fl= GetObjectPosition(hero)
OpenCircleFog(x,y,fl,Range, GetObjectOwner(hero))
sleep(0.1)
end;
end;

startThread(SetHeroLookRange, "Hunter", 6);

As many heroes as there are, so many such loops... Or you can run everything in one loop!
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________