Sailing Minimap¶
Methods to interact with the minimap interface while sailing:
ERSBoat enum¶
ERSBoat = enum(RAFT, SKIFF, SLOOP);
Enum representing the types of boat the player can own and use.
Minimap.GetBoat¶
function TRSMinimap.GetBoat(): TPointArray;
Returns a TPointArray of the player’s boat.
Example:
{$I WaspLib/osrs.simba}
begin
while True do
ShowOnTarget(Minimap.GetBoat());
end.
Minimap.BoatRadians¶
property TRSMinimap.BoatRadians: Single;
Returns a the boat angle as radians.
Example:
{$I WaspLib/osrs.simba}
begin
WriteLn Minimap.BoatRadians;
end.
Minimap.BoatDegrees¶
property TRSMinimap.BoatDegrees: Single;
Returns a the boat angle as degrees.
Example:
{$I WaspLib/osrs.simba}
begin
WriteLn Minimap.BoatDegrees;
end.
Minimap.BoatType¶
property TRSMinimap.BoatType: ERSBoat;
Returns a the boat ERSBoat type.
Example:
{$I WaspLib/osrs.simba}
begin
WriteLn Minimap.BoatType;
end.