Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

Attack Turret/Inhibitor


  • Please log in to reply
4 replies to this topic

#1
szczurekPROS

szczurekPROS

    GOD

  • Local Support
  • 224 posts
  • LocationSzczawnica

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?


  • 0

#2
Fl0at

Fl0at

    Reseller

  • Members
  • 604 posts

add prints


  • 0

#3
szczurekPROS

szczurekPROS

    GOD

  • Local Support
  • 224 posts
  • LocationSzczawnica

add prints

 

Prints?


  • 0

#4
Fl0at

Fl0at

    Reseller

  • Members
  • 604 posts

print("penis")


  • 0

#5
szczurekPROS

szczurekPROS

    GOD

  • Local Support
  • 224 posts
  • LocationSzczawnica

print("penis")

 

unknown.png


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users