PDA

View Full Version : Simple script please help



Vodkita
12-18-2015, 03:05 PM
Im ignorant about scripting, could someone make a script that follows "X" if i have no target or no monster screen both work, i would appreciate it a lot thx

dinmamma
12-18-2015, 09:08 PM
Vodkita
Just edit the name, it will follow if you don't have any target

function follow()
local creatureToFollow = Creature.New("Name To Follow")
if (Self.TargetID() == 0) then
followCreature(creatureToFollow:ID())
end
end
while true do
follow()
wait(400,500)
end

Vodkita
12-19-2015, 10:51 AM
Thx a lot works almost perfect !