1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved Slowing down right click interact

Discussion in 'Developer Support' started by Humfry, Jun 19, 2019.

  1. Humfry

    Joined:
    Jul 17, 2017
    Messages:
    32
    Likes Received:
    4
    Hi,

    Is it possible to slow down the interact-methode for a right mouseclick option on an item? Right now, it clicks almost instantly on the requested option in the menu after the right mouseclick, behaving very botlike. I'm trying to teleport with tokkul-zo to the fight cave.

    Code (Text):
    1. Equipment.getItemIn(Equipment.Slot.RING)?.interact("Fight Cave")


     
  2. Best Answer:
    Post #4 by Humfry, Jun 19, 2019
  3. Drupz

    Joined:
    May 30, 2019
    Messages:
    34
    Likes Received:
    11
  4. Jhinn

    Joined:
    Jun 9, 2015
    Messages:
    3,643
    Likes Received:
    1,337
    I don't think this does what OP intends to do (but please correct me if I'm wrong). He's asking if he can slow down the time between the "right click -> option" interaction, which is one #interact method.

    @Humfry I wouldn't worry about the speed so much, but if you're really concerned you can always look at the Mouse#setSpeedMultiplier or a different mouse path generator and see if that helps in any way.

    Edit: join the #development channel in slack so you can get help faster :)
     
    Humfry and Drupz like this.
  5. Humfry

    Joined:
    Jul 17, 2017
    Messages:
    32
    Likes Received:
    4
    True :)

    Solved the problem by making my own mouse-click methode, thanks for the help anyway!
     
    Jhinn likes this.

Share This Page

Loading...