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

Request Actor.getObjectTarget() - to get object being interacted with

Discussion in 'Client & Site Suggestions' started by Snufalufugus, Feb 4, 2017.

  1. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    There are some edge cases where you can't reliably use animation IDs to determine what your character is doing.

    A common issue is when interaction id goes back to -1 for a short time between the real animation, but this can be (mostly, if not always) solved with delays that use a second case to reset the delay timer.

    A much rarer issue is when an animation isn't shown because of another that takes precedence. For example, if you interact with an object while being attacked, the animation that plays when your player gets attacked is the one that gets shown. The animation precedence also takes place regularly when game-tick manipulation is happening. It is demonstrated daily in B0aty's streams when he uses a pestle and mortar to animation cancel while mining or hunting.

    To clarify the suggestion, there is currently an Actor.getTarget() which can determine when an actor is interacting with another NPC, such as a quest NPC or fishing spot. I am suggesting something similar that will determine the object that the local player is interacting with.
     
    Serene likes this.
  2. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Not possible
     
    Defeat3d likes this.

Share This Page

Loading...