Jump to content
Cloxygen

Allow user to click Entity

Recommended Posts

24 minutes ago, Alek said:

Like the way I have it in all my scripts? It's all Java API for Swing/AWT, human input is not necessary.

I've only used your woodcutter, but yeah pretty much like that. When the script starts you click the tree you want and it gets that entity, how is that not user input?

Currently I can get the entity on cursor, highlight it with paint, set it to interact with mouse click. Only thing I'm missing is the ability to move the mouse around.

 

Link to comment
Share on other sites

Just now, Final said:

You cache the first entity/name of entity (whatever you want) they select.

 

1 minute ago, Final said:

they select.

Anyway, I'm trying out mouse listener. Hopefully its what I'm looking for.

38 minutes ago, liverare said:

Hey it works, thanks buddy!

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

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



  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...