Log in

View Full Version : autofollow/autoattack



koliber44
12-14-2015, 09:28 AM
Hi, I need script for auto follow and auto attack, I found somethink like this but it doesnt work :/

"-Follow EK
local ek = 'Borges'
local dist = 2 -- in sqms

Creature:Follow(ek,dist)"

I need to follow my ek and shoot him with Ava/gfb

Can you help me?

koliber44
12-14-2015, 12:08 PM
.....

koliber44
12-14-2015, 12:09 PM
I got somethink like this:
local Config = { name = "", rune = "", delay = 3, enabled = true }

Module.New('NoIdea', function(mod)
local c = Creature.New(Config.name)
local RuneID = Item.GetID(Config.rune)
if (c:isOnScreen()) then
if (not c:isFollowed()) and (Config.enabled == true) then
c:Follow()
else
Self.UseItemWithCreature(RuneID, c:ID())
wait(Config.delay * 1000)
end
end
end)

but i need to change it for distance following, can you guys help me?