
Here's the simple code I'm using:
event pathfind 2149 1415 -23
while #charposx <> 2149 && #charposy <> 1415
{
wait 5
event pathfind 2149 1415 -23
}
I know Cheffe said in the doc's:
Please note that your script will keep on executing while the character is moving.
but in my example
the script jumps out of the while loop before it reaches the coords.
This is in one of my houses, and nothing is keeping it from reaching the destination tile.
How/why is it leaving the while loop before the condition is met?
