Alright, I am unsure as how to go about doing this:
I'm at the Barbarian Outpost deposit box, I want to walk to the Willows but there is a door. I walk to the door and wish to detect if it is open or closed, and then continue walking (after opening the door if open).
Here is my walk to tree procedure.
Simba Code:
Procedure OutpostWalkToTree;
var
OutpostToDoor, OutpostToTree: TPointArray;
begin
ClickNorth(SRL_Angle_High);
FFlag(3);
SPS_Setup(RUNESCAPE_SURFACE, ['']);
OutpostToDoor := [Point(1927, 2317), Point(1879, 2315)]; //Walks to door from bank
OutpostToTree := [Point(1879, 2315), Point(1863, 2314)]; //Walks from door to tree
SPS_WalkPath(OutpostToDoor);
if (FindDoor = True) then //FindDoor is my function for detecting the door itself
SPS_WalkPath(OutpostToTree);
while IsMoving do
Antiban
end;
Any help is welcomed.
-Chris!