Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

API String

Richard Bunt edited this page Mar 3, 2014 · 10 revisions

API strings are used to identify values or functions within KSP, such as v.altitude which is mapped to the altitude of the vessel you are currently flying. The API strings which are currently supported can be discovered by reading the DataLinkHandlers source file. In time this page will be expanded to include a more human readable form of the API strings.

###p.paused

Returns an integer indicating the state of the game

  • 0 - KSP is in the flight scene and not paused
  • 1 - KSP is paused
  • 2 - Out of power
  • 3 - Antenna is off
  • 4 - Antenna not found

Clone this wiki locally