Could someone plz tell me if it is possible to make your character run to a certian loc with MQ and if it is could you plz show me how to go about doing it...
Thanx alot
Moderator: MacroQuest Developers

Code: Select all
#include routines.mac
/call GotoLoc x,y

Code: Select all
| run.mac
|
#include routines.mac
sub main
/call gotoloc $p0,$p1
/return
Code: Select all
#include routines.mac
Sub Main
:Begin
/call Uphill
/goto :Begin
/return
Sub Uphill
:Uphill
/face loc -645,-805 fast
/if n $distance(-645,-805)>5 /goto :Uphill
/goto :Downhill
:Downhill
/face loc -643,-695 fast
/if n $distance(-643,-695)>5 /goto :Downhill
/goto :Uphill
/return