• Sky
• Blueberry
• Slate
• Blackcurrant
• Watermelon
• Strawberry
• Orange
• Banana
• Apple
• Emerald
• Chocolate
• Charcoal

# (Request to OSI) Click according to the compass angle

## Recommended Posts

Click according to the compass angle

If it's possible to make this feature, then it would make the antiban and the easiness lot's better.

Example:

`ClickAng(x, y, 5, 5, Angle);`

and

`GetMousePosAng(x, y, Angle);`

But i think it's pretty hard to do.

##### Share on other sites

its called findobjdir you can look it up. also angel and compass are not too great to put into scripts and mess with much. weither or not yuou "randomize" it . Just a heads up.

##### Share on other sites

Yea I'll implement a true north based function that rotates a point according to compass angle although I don't recommend it... I also can't vouch for antirandoms working properly at any angle but North though it shouldn't be a problem it's just untested.

It's best to just play at North highest angle in most cases.

##### Share on other sites

Click according to the compass angle

If it's possible to make this feature, then it would make the antiban and the easiness lot's better.

Example:

`ClickAng(x, y, 5, 5, Angle);`

and

`GetMousePosAng(x, y, Angle);`

But i think it's pretty hard to do.

What ive been doing is this:

```Procedure ChangeDir;
Var
CurrentPos: Extended;
begin
CurrentPos := Round(GetCompassAngleDegrees);
if ((CurrentPos < 270) and (CurrentPos  > 90)) then
begin
MakeCompass(RR(-10,10));
exit;
end;
if ((CurrentPos > 270) or (CurrentPos < 90)) then
begin
MakeCompass(RR(170,190));
exit;
end;
end;```

But it actual turns the camera, if ur facing north it turns south and it your south it goes north. But u could use GetcompassDegrees to write a similar func that instead of turning the camera did something like click a spot just write a shit load of those if statements or even better do a few cases and narrow the window down to about 5-10 degrees istead of 180 like i got it

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×

×