Sailing Minimap

Methods to interact with the minimap interface while sailing:

../../images/sailing_minimap.png

EBoat enum

EBoat = enum(RAFT, SKIFF, SLOOP);

Enum representing the types of boat the player can own and use.


Minimap.GetBoat

function TMinimap.GetBoat(): TPointArray;

Returns a TPointArray of the player’s boat.

Example:

{$I WaspLib/main.simba}
begin
  while True do
    ShowOnTarget(Minimap.GetBoat());
end.
../../images/getboat.png

Minimap.BoatRadians

property TMinimap.BoatRadians: Single;

Returns a the boat angle as radians.

Example:

{$I WaspLib/main.simba}
begin
  WriteLn Minimap.BoatRadians;
end.

Minimap.BoatDegrees

property TMinimap.BoatDegrees: Single;

Returns a the boat angle as degrees.

Example:

{$I WaspLib/main.simba}
begin
  WriteLn Minimap.BoatDegrees;
end.

Minimap.BoatType

property TMinimap.BoatType: EBoat;

Returns a the boat EBoat type.

Example:

{$I WaspLib/main.simba}
begin
  WriteLn Minimap.BoatType;
end.