Is it possible to make it auto follow a player using alt, and click?
I've got a long macro it does everything automatic healing, resing, and etc, but I would like to make it where it can auto follow automatic for players that are within range to friend, or using serial number because I don't want it to follow anybody, but just for the specific one.
Post Merge: August 10, 2017, 12:29:47 AM
O.K. I found a nice auto follow macro,but it is for taming, and I would like to get that cleaned up, and just make it follow friend instead of any random person. I change it, and edit that it follow wraith form male, and it work perfectly.
if not listexists 'NameTheTamed'
createlist 'NameTheTamed'
//Set this name to whatever you want.
pushlist 'NameTheTamed' 'MURICA'
endif
if not listexists 'tameables'
createlist 'tameables'
pushlist 'tameables' ox2ec //wraith form
endif
if not @inrange 'tobetamed' 12
@unsetalias 'tobetamed'
for 0 in 'tameables'
if @findtype tameables[] 'any' 'ground' 1 12
@setalias 'tobetamed' 'found'
break
endif
endfor
endif
if not @inrange 'tobetamed' 12
headmsg 'No new creatures near you!'
pause '10000'
//playmacro 'Auto Tamer'
//stop
endif
autotargetobject 'tobetamed'
useskill 'animal taming'
clearjournal
while not dead
if @injournal 'It seems to accept you as master.' or @injournal "That wasn't even challenging"
@rename 'tobetamed' NameTheTamed[0]
waitforcontext 'tobetamed' 8 20000
waitforgump 0x909cc741 15000
@replygump 0x909cc741 2
pause '1000'
//cast 'energy bolt' 'tobetamed'
pause '3000'
@ignoreobject 'tobetamed'
@unsetalias 'tobetamed'
replay
elseif @injournal 'You fail to tame the creature' or @injournal 'too far away'
replay
elseif @injournal 'You have no chance of taming this creature' or @injournal 'do not have a clear path to the animal'
replay
elseif @injournal 'This animal has had too many owners' or @injournal 'That animal looks tame already'
@ignoreobject 'tobetamed'
@unsetalias 'tobetamed'
replay
else
pause 400
if not @inrange 'tobetamed' 1
if @x 'tobetamed' > x 'self' and @y 'tobetamed' > y 'self'
walk 'Southeast'
elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' > y 'self'
walk 'Southwest'
elseif @x 'tobetamed' > x 'self' and @y 'tobetamed' < y 'self'
walk 'Northeast'
elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' < y 'self'
walk 'Northwest'
elseif @x 'tobetamed' > x 'self' and @y 'tobetamed' == y 'self'
walk 'East'
elseif @x 'tobetamed' < x 'self' and @y 'tobetamed' == y 'self'
walk 'West'
elseif @x 'tobetamed' == x 'self' and @y 'tobetamed' > y 'self'
walk 'South'
elseif @x 'tobetamed' == x 'self' and @y 'tobetamed' < y 'self'
walk 'North'
endif
endif
endif
endwhile