Need help (Range Finder)

enemy4 = "Gorgnub"
distance4 = hero.distanceTo(enemy4)
hero.say("distance4")

you need quotes around “distance4” with the brackets as your hero should say it.

1 Like

I don’t think that would work, that would only make him say “distance 4” no matter what is in the variable, right ?

Actually, you don’t need "" after doing a variable. "" equals to special names.
Can you also send me the link please? Thanks!