space_ex v0.4.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

Link to this function add_waypoint(conn, this, latitude, longitude, body, name)

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:

Link to this function add_waypoint_at_altitude(conn, this, latitude, longitude, altitude, body, name)

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:

Link to this function colors(conn, this)

An example map of known color - seed pairs.

Any other integers may be used as seed.

Link to this function icons(conn, this)

Returns all available icons (from "GameData/Squad/Contracts/Icons/").

Link to this function waypoints(conn, this)

A list of all existing waypoints.