Runescape Pro
2010-07-31 12:22:50
I'm trying to find the ID for the stairs on all the floors of the lumby castle. This is what I have:
It doesn't tell me the ID… I also tried "Writeln(GetInteractableAt(Tile(StairsX, StairsY)));" with no luck.
program FindStairs;
{$Define SMART}
{$i srl/srl.scar}
{$i srl/srl/reflection/reflection.simba}
var
x, y, StairsX, StairsY: Integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
end;
procedure SetupTehScript;
begin
LoginPlayer;
wait(2500+Random(1000));
end;
begin
SetupSRL;
SetupReflectionEx(True);
DeclarePlayers;
wait(2500+Random(2500));
SetUpTehScript;
StairsX:=GetMyPos.x;
StairsY:=(GetMyPos.y - 1);
GetInteractableAt(Tile(StairsX, StairsY));
end. It doesn't tell me the ID… I also tried "Writeln(GetInteractableAt(Tile(StairsX, StairsY)));" with no luck.