Jump to content

Woody

Members
  • Posts

    715
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by Woody

  1. V .123 is so much better than .127.

     

    When the script want to attack a npc, the mouse move a few pixels towards the entity and then stops, then move again and stops, repeatedly.

     

    This is what I use:

    InteractionEvent ie = new InteractionEvent(entity, "Attack");
    ie.setHover(true);
    execute(ie);
    

    Another issue with grabbing ground items; it right clicks on the ground item but doesn't interact.

    GroundItem gi = getGroundItems().closest("blah");
    
    if gi != null
    gi.interact("Take")
    
  2. How would you implement interaction with other utilities like what if you need to enter an amount into a GUI for how many X of X you want to do?

    Also how do you listen for interaction with paint? Dumb question but i never learned it.

    I would use PUI if there are only clickable options, no typing.

     

    And you use mouselistener and rectangles to listen for interaction.

  3. I was using PUI (paint user interface) a long time ago. But it is a lot more difficult to make than a GUI.

     

    If you have a sense for graphics and if you don't overload the cpu with images, it is a really nice feature.

×
×
  • Create New...