Interaction

open class Interaction

Utilities for easily interacting with game entities

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun interactGroundItem(itemId: Int, action: String): Boolean
open fun interactGroundItem(itemName: String, action: String): Boolean
Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
Link copied to clipboard
open fun interactNpc(npcId: Int, action: String): Boolean
open fun interactNpc(npcName: String, action: String): Boolean
Interacts with the best nearby npc using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
Link copied to clipboard
open fun interactObj(objId: Int, action: String): Boolean
open fun interactObj(objName: String, action: String): Boolean
Interacts with the best nearby object using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector
Link copied to clipboard
open fun interactPlayer(playerName: String, action: String): Boolean
Interacts with the specified player using interact