I need a way to accurately get the angle from the minimap (not compass) but SCAR's radians angle thing is confusing the hell out of me
Can someone explain it to me?
EDIT:
Yes I have googled it
I need a way to accurately get the angle from the minimap (not compass) but SCAR's radians angle thing is confusing the hell out of me
Can someone explain it to me?
EDIT:
Yes I have googled it



I attached a script. Look in the tutorials section. There's a good tutorial there.
thats not what i'm talking about i'm talking about the radians as in what scar used to measure angles
SCAR Code:function RotateBitmap(bitmap: Integer; angle: Extended): Integer; - Rotates bitmap by specified angle in radians (Pi = 180˚)
EDIT:
Whoops I spelt it rong in the tread title, my bad
*bump*
first of all we DO NOT bump topics! second why dont you just play around with it until your get it right. third just wait patiently until someone knows what they are talking about.(specifically not me)![]()



To rotate it 360 degrees, just put for angle Pi*2.
Or if you want to keep looking until you found it, do this:But make sure to make an extended variable called E, and rename MyBitmap to your bitmap's name (and I probably wasted my time typing that because you probably know thatSCAR Code:for E:= 0.1 to Pi * 2 do
begin
MyBitmap:= RotateBitmap(MyBitmap, E);
if(FindBitmapToleranceIn(MyBitmap, x, y, MSX1, MSY1, MSX2, MSY2, 5{the tol}))then
break;
end;).
There are currently 1 users browsing this thread. (0 members and 1 guests)