Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if cursor is a target #167

Open
kcop4uk opened this issue Jun 29, 2021 · 0 comments
Open

Check if cursor is a target #167

kcop4uk opened this issue Jun 29, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@kcop4uk
Copy link

kcop4uk commented Jun 29, 2021

EasyUO has a great feature: variable to get/set cursor to a target.

#targCurs Returns if a cursor is a target

This is very useful when you do a script like...

  • waiting for a hotkey
  • hotkey received
  • setting a cursor to a target
  • waiting for a user input (checking if cursor is not a target anymore)
  • receiving last target ID, as user just set it
  • using it in the future

may be used to set containers, items stack etc., instead of setting those IDs manually as variables at the beginning of a script

  • set target
  • use skill
  • click target
  • making sure that target click was successful (checking if cursor is not a target anymore)
@kcop4uk kcop4uk added the enhancement New feature or request label Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant