Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GoToTask conditionExit

Featured Replies

@Droidz can you explain a little how this works?

I built my own helper function, because it doesn't seem to work the way I want ti to. Basically I want GoToTask to abort if Conditions.IsAttackedAndCannotIgnore and a bunch of other stuff evaluates to true.
But it seems to instantly cancel, if it evaluates to false, so I don't really understand.

  • 4 years later...

Sorry for necropost, but anybody used subj? It's no difference in GoToTask behavior:

GoToTask.ToPosition(pos, 3.5f, false, context => true);

and

GoToTask.ToPosition(pos, 3.5f, false, context => false);

in both cases bot successfully runs until reaches destination and ignores fight during run.

How to correct use GoToTask.ToPosition with interrupting when bot attacked?

15 hours ago, Weer36 said:

Sorry for necropost, but anybody used subj? It's no difference in GoToTask behavior:

GoToTask.ToPosition(pos, 3.5f, false, context => true);

and

GoToTask.ToPosition(pos, 3.5f, false, context => false);

in both cases bot successfully runs until reaches destination and ignores fight during run.

How to correct use GoToTask.ToPosition with interrupting when bot attacked?

Hello,

I'm supprise that with => false method move the character.

To interrupting when bot attacked use 

GoToTask.ToPosition(pos, 3.5f, false, context => !Conditions.IsAttackedAndCannotIgnore);

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.