Jump to content

Best method of traversing menu/dialogue


Tyelr

Recommended Posts

Hello!

 

Working on my first script and had a question.  Currently using the getDialogues().selectOption method for getting through chats with NPCS.  Is this the preferred method for talking to NPC's?  I don't know if there even is another option but I noticed selectOption and clickContinue uses the keyboard and tbh I didn't even know you could do that until I ran the script and realized the mouse wasn't moving lol.  Is this the best way to do this?  Worried about it being a red flag for jag.

 

Also, sure I'll have more questions in the future, so thanks in advanced :)

Link to comment
Share on other sites

Hello!

Working on my first script and had a question. Currently using the getDialogues().selectOption method for getting through chats with NPCS. Is this the preferred method for talking to NPC's? I don't know if there even is another option but I noticed selectOption and clickContinue uses the keyboard and tbh I didn't even know you could do that until I ran the script and realized the mouse wasn't moving lol. Is this the best way to do this? Worried about it being a red flag for jag.

Also, sure I'll have more questions in the future, so thanks in advanced :)

Just use getDialogues().completeDialogue(options) it will click continue and click on any options with the text you specify until the dialogue is over

Link to comment
Share on other sites

Does completeDialogue use the spacebar and number keys to comlpete the dialogue as well or does it actually click... ? Is clicking preferred over using the keyboard or does it not really matter?

Thanks for the reply.

Just clicks, you will have to write your own methods if you want to do that. Edited by Explv
  • Like 1
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.
Note: Your post will require moderator approval before it will be visible.

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...