March 1, 201510 yr How can I interact with an object by right clicking instead of just clicking it? I've heard multiple times before to avoid the use of while loops. How would I then, for example, replicate this code without the use of a while loop? while(condition e.g. myPlayer().isAnimating()) { if(getDialogues().isPendingContinuation()) { sleep(random(600, 1000)); dialogues.clickContinue(); break; } } Thanks!
March 1, 201510 yr How can I interact with an object by right clicking instead of just clicking it? I've heard multiple times before to avoid the use of while loops. How would I then, for example, replicate this code without the use of a while loop? while(condition e.g. myPlayer().isAnimating()) { if(getDialogues().isPendingContinuation()) { sleep(random(600, 1000)); dialogues.clickContinue(); break; } } Thanks! dont use while loops please if (myPlayer().isAnimating()) { if (dialogues.clickContinue()) { sleep(random(600, 1000)); break; } } interact(string) is an instance of interactionEvent. depending on what the action is. It will right click if it needs to. So your request is already there Edited March 1, 201510 yr by josedpay
Create an account or sign in to comment