Prueba esta:
Código:
set %giro 0
hiding:
if #charStatus <> H
{
event macro 13 21
wait 5s
goto stealth
}
stealth:
if #charStatus <> H
{
goto hiding
}
if %giro = 0
{
set %posy #CHARPOSY + 1
move #CHARPOSX %posy a
set %giro %giro + 1
goto stealth:
}
if %giro = 1
{
set %posx #CHARPOSX + 1
move %posx #CHARPOSY a
set %giro %giro + 1
goto stealth:
}
if %giro = 2
{
set %posy #CHARPOSY - 1
move #CHARPOSX %posy a
set %giro %giro + 1
goto stealth:
}
if %giro = 3
{
set %posx #CHARPOSX - 1
move %posx #CHARPOSY a
set %giro 0
goto stealth:
}
Sino te va cambia todos los "move" for "PathFind" y quita la "a".
Lo malo de usar PathFind es que tienes que dejar el cursor cerca del personaje para que camine y no corra