Bad Boy JH
2010-09-22 09:16:51
I have started scripting something, however there seems to be an issuewith TileToMS…
when I ran this…
I got this as an output
Now the exactness (if thats a word) of the Time from mark being 10000, probably meens an error in the coding… sorry I can't investigate further… got school tomorrow, so I need sleep…
when I ran this…
program new;
{$DEFINE SMART}
{$i srl\srl.scar}
{$i reflection\reflection.simba}
var
mark: Integer;
TPoint: TPoint;
begin
SetupSRL;
SetupReflectionEx(True);
MarkTime(Mark);
TPoint := TileToMs(GetMyPos, 0);
Writeln('Time From Mark: ' + IntToStr(TimeFromMark(Mark)));
Writeln('Distance: ' + IntToStr(Distance(TPoint.x, TPOint.y, MSCX, MSCY)));
end.
I got this as an output
Time From Mark: 10000
Distance: 311Now the exactness (if thats a word) of the Time from mark being 10000, probably meens an error in the coding… sorry I can't investigate further… got school tomorrow, so I need sleep…