space_ex v0.8.0 SpaceEx.SpaceCenter.WaypointManager
Waypoints are the location markers you can see on the map view showing you where contracts are targeted for.
With this structure, you can obtain coordinate data for the locations of these waypoints.
Obtained by calling SpaceEx.SpaceCenter.waypoint_manager/1.
Link to this section Summary
Functions
Creates a waypoint at the given position at ground level, and returns a
SpaceEx.SpaceCenter.Waypoint object that can be used to modify it
Creates a waypoint at the given position and altitude, and returns a
SpaceEx.SpaceCenter.Waypoint object that can be used to modify it
An example map of known color - seed pairs
Returns all available icons (from “GameData/Squad/Contracts/Icons/“)
A list of all existing waypoints
Link to this section Functions
Creates a waypoint at the given position at ground level, and returns a
SpaceEx.SpaceCenter.Waypoint object that can be used to modify it.
latitude— Latitude of the waypoint.longitude— Longitude of the waypoint.body— Celestial body the waypoint is attached to.name— Name of the waypoint.
Returns: a reference to a SpaceEx.SpaceCenter.Waypoint object
Creates a waypoint at the given position and altitude, and returns a
SpaceEx.SpaceCenter.Waypoint object that can be used to modify it.
latitude— Latitude of the waypoint.longitude— Longitude of the waypoint.altitude— Altitude (above sea level) of the waypoint.body— Celestial body the waypoint is attached to.name— Name of the waypoint.
Returns: a reference to a SpaceEx.SpaceCenter.Waypoint object
An example map of known color - seed pairs.
Any other integers may be used as seed.
Returns: %{str => int, ...}, where str is a string and int is an integer
Returns all available icons (from “GameData/Squad/Contracts/Icons/“).
Returns: [str, ...], where str is a string
A list of all existing waypoints.
Returns: [waypoint, ...], where waypoint is a reference to a SpaceEx.SpaceCenter.Waypoint object