Interactable Entity
Functions
Finds the centroid of the entity within the game screen.
Clicks the target and compensates for movement. Does not check intent or expected result (mouse cross-hair).
Clicks the target and compensates for movement. This method expects (and requires) that the given action is up-text (menu index 0). This method can be used when precision clicking is required, and the option is guaranteed to be up-text. WARNING: this method DOES NOT check intent or expected result (mouse cross-hair). WARNING: The return status does not guarantee the correct action was acted upon.
Clicks the target. This method expects (and requires) that the given action is up-text (menu index 0). This method can be used when precision clicking is required, and the option is guaranteed to be up-text. WARNING: this method DOES NOT check intent or expected result (mouse cross-hair). WARNING: The return status does not guarantee the correct action was acted upon.
Interacts with the target and compensates for movement. This method will interact (and choose it) when it finds the desired action. This method accomplishes it via left or right click.
Interacts with the target and compensates for movement. This method will interact (and choose it) when it finds the desired action. This method accomplishes it via left or right click (as defined). When auto is set to false, the method forcibly right clicks before searching for menu options. This is useful when precision clicking is required and the option is always in the menu (not up-text).
Returns true
if the object is currently rendered in the viewport.