Hi,
i was messing around a bit in eclipse ( first time starting to work with java and osbot API ).
And i found out in debug mode that the Plough is actually an NPC? so i thought that this code would work in order to ''push'' the plough , but when i start my script it doesn't do anything sadly .
This is what i have used for the code:
import org.osbot.rs07.api.model.NPC; // figure this is what i need right?
import org.osbot.rs07.api.model.InteractableObject;
public int onLoop() throws InterruptedException {
NPC Plough = npcs.closest("Plough");
if(Plough != null){
Plough.interact("Push");
like i said , i'm a complete noob and just trying to figure out what code to use for what action etc.
Please let me know what to do or give me some tips if you have some spare time