Jump to content

Tazmania

Members
  • Posts

    77
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by Tazmania

  1. Create a walking event to a path of one tile and then set the minimap and min distance to 0 like so:

    WalkingEvent walkingPath = new WalkingEvent(PositionName);
    walkingPath.setMiniMapDistanceThreshold(0);
    walkingPath.setMinDistanceThreshold(0);
    execute(walkingPath);
    

     

    This has always worked for me.

     

    Same problem, walking to one of the adjacent tiles and won't walk if he is 3 tiles close to the destination.

  2. Hi all

    I am trying to walk to a specific tile using 

    getLocalWalker().walk(myTile);
    

    however this will walk the player to the tile or any one of the surrounding ones. If the player is close (3-4 blocks away) to the position he will not walk at all.

     

    How can I walk to THE specific position?

  3. Brilliant guys thanks, also one last thing so I don't open an other thread, do you know how you can fetch if a player is skulled or not?

     

    NVM got it from Player.getSkullIcon()

  4. Hi, I have been searching round the API but can't seems to find a listener I could implement that gets executed when a game event (like A magical force stops you from moving) appears on the game log. Or is there some other way of reading these?

  5. Hi, I would like to have control when the user clicks somewhere in the client (not when the script clicks).

    Is there syntax to override the OnMouseClick method?

×
×
  • Create New...