I'm making a follow-me
Could there be a better way?
Should I register in advance?
SetGoodLocation x 1~9999 , y 1~9999
Code: Select all
SetMoveThroughNPC(0) < = Not working
followme = RequestTarget()
while True:
while not GetDistance(followme) == 1:
NewMoveXY(GetX(followme), GetY(followme), False, 1, True)
while not GetDistance(followme) == 0 and not GetDistance(followme) > 1:
SetGoodLocation(GetX(followme), GetY(followme))
NewMoveXY(GetX(followme), GetY(followme), False, 0, True)