Jump to content

Xellic

Members
  • Posts

    85
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Xellic

  1. Works. Didn't realize it was so simple. Thanks a lot.
  2. If I have RS2Object bankBooth = objects.closest("Bank booth"); it will find the closest bank booth to me. Problem is, if I am already standing in front of a bank booth, it will find the closest one next to me instead of interacting with the one already in front of me. How do I make it so when the script initially finds a bank booth, it will keep using the same one?
  3. This doesn't seem to work for me..there is no use option when you have already clicked the knife..
  4. Hi, How would I go about making two items interact with each other in my inventory? For example, making a knife interact with a log. I have inventory.getItem(knife).interact("Use"); but how would I make the client click the log?
  5. Where do I add the Message Listener method call? and with what parameters?
  6. What do I input into my loop in order to activate my Message Listener method? Here it is: private void onMessage(String message) { if(message.contains("You get some oak logs.")) { itemsMade ++; } } Do I put something like String message = chatbox.getMessage(idk what goes here) ?
  7. Which one and why?
  8. Hi, just wondering if WalkingEvent is used to create a randomized path as opposed to a typical static localWalker.walkPath()? How would I go about using this? Will this provide less of a ban chance? EDIT: I think I've got it. Create a new instance of WalkingEvent with the desired parameters and then call it using execute(WalkingEvent entity).
×
×
  • Create New...