Quote Originally Posted by Basiq View Post
Here you go:
Code:
local FriendName = "Basiq"
 
function FollowFriend(mod)
    local c = Creature(FriendName)
    if c:isOnScreen() then
        if Self.TargetID() == 0 and not c:isFollowed() then
            print("Following " .. FriendName .. ".")
            c:Follow(FriendName)
        end
    end
    mod:Delay(1200)
end
 
Module.New('follow friend', FollowFriend)


Thank you, have any script form continue with follow when attacking a monster or a player?