Hello,
Can someone help me?
I'm trying to do this from 2h and still it don't works.
My Code:
for _, turret in pairs(GetTurrets()) do if turret and turret.team ~= myHero.team and GetDistance(turret, myHero) <=1200 then AttackUnit(turret) end end
AttackUnit(turret) is good?