Jump to content

Best method of traversing menu/dialogue


Recommended Posts

Posted

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 :)

Posted

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

Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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