That looks much better.
btw: the argument passed to 'SetupMap' is:
'0=no diagonal movement.
'1=diagonal movement and cutting corners allowed.
'2=diagonal movement but no cutting corners.
[EDIT]
And also: the Dll internally represents the map like a normal array with dimentions [0 to length-1]
so you can use the coords 0,0 when calling Findpath.
Bookmarks