February 29, 20205 yr WebWalkEvent webEvent = new WebWalkEvent(Position); webEvent.setBreakCondition(new Condition() { @Override public boolean evaluate() { return (getSkills().getDynamic(Skill.HITPOINTS) < 5); } }); execute(webEvent); I've looked around on ways to set a break condition for my WebWalkEvent when my bot is low on health, but I'm getting these red lines from all of the code I see without any option to import anything. Is there anything I am missing here? I've yet to see anyone else mention this.
February 29, 20205 yr @virtusnex I think you have the wrong import. You have this import java.util.concurrent.locks.Condition; Instead of this import org.osbot.rs07.utility.Condition;
Create an account or sign in to comment