Untitled
Guest 80 8th May, 2024
local toFollow = "Player2"
local toFollowPos = {}
local followMacro = macro(20, "follow target", function()
local target = getCreatureByName(toFollow)
if target then
local tpos = target:getPosition()
toFollowPos[tpos.z] = tpos
end
if player:isWalking() then return end
local p = toFollowPos[posz()]
if not p then return end
if autoWalk(p, 20, {ignoreNonPathable=true, precision=1}) then
delay(100)
end
end)
onCreaturePositionChange(function(creature, oldPos, newPos)
if creature:getName() == toFollow then
toFollowPos[newPos.z] = newPos
end
end)
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes
- Подшипники Цены
HTTP Strict-Transport-Security | 8 | 10 hours ago
- Doxycycline And Epiduo For Acne - rrkurqpldh
WebAssembly | 13 | 21 hours ago
- Утепление дома снаружи цена
Git | 14 | 22 hours ago
- Untitled
Markup | 28 | 22 hours ago
- The Wedding Photographer
Scheme | 113 | 23 hours ago
- Снегоуборщик Manner M209 Запчасти
WebAssembly | 13 | 23 hours ago
- Станок Туалетная Бумага Сколько Стоит
Icon | 12 | 23 hours ago