elementalelf
2007-09-12 04:21:06
really quite basic, just make your radials using the radial walking aid thingy, however make sure your compass is pointing directly north, put the values in as if its facing north, and it will radial walk regardless of what compass angle its facing
now you can make an entire script without having to use makecompass() once.
now you can make an entire script without having to use makecompass() once.
function ImpRadialWalk(TheColor: Integer; StartRadial, EndRadial: Integer; Radius:
Integer; Xmod, Ymod: Integer): Boolean;
var
mx, my, CAngle: Integer;
begin
CAngle:=FindCompassAngle;
if (StartRadial = EndRadial) then
begin
WriteLn('WARNING: Using LinearRalk, StarRadial, and EndRadial are the same');
if LinearRoadWalk(TheColor, StartRadial, Radius, XMod, YMod) then
Result := True;
end else
if (radialwalkex(mx, my, 648, 83, thecolor, 10, startradial+CAngle, endradial+CAngle, radius)) then
begin
MouseFindNoFlag(mx, my, Xmod, Ymod);
Result := True;
FFlag(10);
end;
end;
begin
end.