Salutations,
Faces without turning, so you're instantly facing the correct direction. anyway... the problem with your current macro is that it takes FOREVER to get exactly 17. You want to do something like...
Code: Select all
#define Distance 17
sub main
/echo Begining to follow $target(name,clean), staying about Distance clicks behind...
/varset v0 $target(name,clean)
/fast fast
:followloop
/if n $target(distance)<=$calc(Distance-3) /sendkey down down
/if n $target(distance)>$calc(Distance-3) /sendkey down up
/if n $target(distance)>=$calc(Distance+3) /sendkey up down
/if n $target(distance)<$calc(Distance+3) /sendkey up up
/face
/delay 0
/if $target()!=NULL /goto :followloop
/echo No longer following $v0
/return
Just change Distance to be however far behind. YOu had hard coded it, so I did to, just made it a little easier to change, You can figure out how to make it $p0 I'm sure...[/code]