i need some help. lets say i got three BMP's... how would i make scar search for BMP1 or BMP2 or BMP3 and if it finds one of them, Found BMP = True
thanks in advance
~rs2pro666
i need some help. lets say i got three BMP's... how would i make scar search for BMP1 or BMP2 or BMP3 and if it finds one of them, Found BMP = True
thanks in advance
~rs2pro666
SCAR Code:If (FindBitmap(BMP1, x, y)) OR
(FindBitmap(BMP2, x, y)) OR
(FindBitmap(BMP3, x, y)) Then
FoundBMP := True;
thank you soooooo much
Lol nvm, too late![]()
Rogeruk's Al-Kharid Tanner V1.1 [Released]
Rogeruk's Barbarian Crafter [Coming Soon]
Rogeruk's Guild Fisher [Coming Soon]
!! - Taking Requests - !!
This Works Too
SCAR Code:program Find3Bitmap;
var TheBitmap: array[1..3] of Integer;
X,Y,I:Integer;
Procedure DeclareBitmaps;
Begin
TheBitmap[1] := BitmapFromString(4, 4, '000001000001000001D2CCCC9B9' +
'090A19595CEC7C79B909089807FDED9D9CAC3C29A8E8E000001C7' +
'BFBFA99D9D000001');
TheBitmap[2] := BitmapFromString(4, 4, '000001000001000001D2CCCC9B9' +
'090A19595CEC7C79B909089807FDED9D9CAC3C29A8E8E000001C7' +
'BFBFA99D9D000001');
TheBitmap[3] := BitmapFromString(4, 4, '000001000001000001D2CCCC9B9' +
'090A19595CEC7C79B909089807FDED9D9CAC3C29A8E8E000001C7' +
'BFBFA99D9D000001');
End;
begin
DeclareBitmaps
For I:=1 To 3 Do
Begin
If FindBitmap(x,y,TheBitmap[i]) Then
Writeln('Found Bitmap '+IntToStr(i));
End;
end.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)