SRL Archive - OSR Help

Walking with reflection


Gold

2010-09-23 18:42:08

I used the reflection path maker to make this code

function LoadPath: TPointArray;
begin
SetLength(Result, 13);

Result[0] := Point(3570, 2805);
Result[1] := Point(3571, 2801);
Result[2] := Point(3574, 2801);
Result[3] := Point(3578, 2803);
Result[4] := Point(3582, 2804);
Result[5] := Point(3587, 2803);
Result[6] := Point(3594, 2802);
Result[7] := Point(3597, 2797);
Result[8] := Point(3603, 2798);
Result[9] := Point(3606, 2796);
Result[10] := Point(3612, 2794);
Result[11] := Point(3614, 2789);
Result[12] := Point(3619, 2792);
end;


Now, how do I make the bot use this to walk from the catherby bank to the fishing spots and back?

Cstrike

2010-09-23 18:55:56

Later on in the script call something liek


var MyPath : TTileArray;

begin
MyPath := LoadPath;
WalkPath (MyPath);
end;

I THINK that was the code