Hi
i need help with FindPath (function FindPath(StartX, StartY, EndX, EndY: integer; PathList: TList): boolean;
StartX, StartY - start point coordinates
EndX, EndY - end point coordinates
PathList - list where path will be written
I want my char to go to specyfic location (x,y) using combat zone map to avoid obstacles.
the script should check current loc using getloc put startx and starty from it, endx endy are constant
Any help ?