SCAR Code:test 1.
procedure ToBank;
begin
WalkToTile(3039, 3352);
FFlag(5);
WalkToTile(3034, 3356);
FFlag(5);
WalkToTile(3021, 3361);
FFlag(5);
WalkToTile(3012, 3355);
FFlag(5);
is that a simple walk or i need to add some other stuff?
SCAR Code:test 1.
procedure ToBank;
begin
WalkToTile(3039, 3352);
FFlag(5);
WalkToTile(3034, 3356);
FFlag(5);
WalkToTile(3021, 3361);
FFlag(5);
WalkToTile(3012, 3355);
FFlag(5);
is that a simple walk or i need to add some other stuff?
By the looks of your code, you aren't using the latest version of Reflection (rev 68, correct me if I'm wrong on anything.). It is now TPoint based so your code would look like this...
SCAR Code:procedure Walk;
begin
WalkToTile(IntToPoint(3039, 3352), 3, 5); // 3 is randomness 5 is FFlag
WalkToTile(IntToPoint(3034, 3356), 3, 5);
{ And so on... You could also use a TPoint array and a for loop so you don't have to keep on typing everything out.}
end;
SCAR Code:function ToBank: Boolean;
begin
if(WalkToTile(IntToPoint(3039, 3352), 2, 5))then
if(WalkToTile(IntToPoint(3034, 3356), 2, 5))then
if(WalkToTile(IntToPoint(3021, 3361), 2, 5))then
if(WalkToTile(IntToPoint(3012, 3355), 2, 5))then
Result:= True;
end;
Its a 'failsafe'!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)