| bool PSystemSetup.AddLaunchSite |
( |
LaunchSite |
launchsite | ) |
|
|
inline |
Add a LaunchSite to the stored list
- Parameters
-
- Returns
- True if the launchsite could be added. returns false on failure or if the MissionsExpansion is not installed
| GameObject PSystemSetup.FindPQS |
( |
string |
pqsName | ) |
|
|
inline |
Find the PQS GameObject that matches the passed in name.
- Parameters
-
| pqsName | The nameof the PQS to find. |
- Returns
- the GameObject for the PQS that matches the pqsName or Null if not found.
| LaunchSite PSystemSetup.GetLaunchSite |
( |
string |
name | ) |
|
|
inline |
Get the Launchsite with the name provided
- Parameters
-
- Returns
- A Launch site or null if the site is not found. Also returns null if the MissionsExpansion is not installed
| string PSystemSetup.GetLaunchSiteBodyName |
( |
string |
name | ) |
|
|
inline |
| string PSystemSetup.GetLaunchSiteDisplayName |
( |
string |
name | ) |
|
|
inline |
Will Return the LaunchSite display name.
- Parameters
-
- Returns
- The display name or the passed in string if not found.
| bool PSystemSetup.IsFacility |
( |
string |
inputName, |
|
|
out string |
displayName |
|
) |
| |
|
inline |
Check if the name passed in is a SpaceCenterFacility.
- Parameters
-
| inputName | name of the facility/launchsite |
| displayName | Returns the displayName for the facility or launchsite if found. |
- Returns
- true if it is. Otherwise false.
| bool PSystemSetup.IsFacilityOrLaunchSite |
( |
string |
inputName, |
|
|
out bool |
isFacility, |
|
|
out string |
displayName |
|
) |
| |
|
inline |
Check if the name passed in is a SpaceCenterFacility or Stock LaunchSite
- Parameters
-
| inputName | name of the facility/launchsite |
| isFacility | Returns True if the passed in name is a SpaceCenterFacility; otherwise returns false. |
| displayName | Returns the displayName for the facility or launchsite if found. |
- Returns
- true if it is. Otherwise false.
| bool PSystemSetup.IsLaunchSite |
( |
string |
inputName, |
|
|
out string |
displayName |
|
) |
| |
|
inline |
Check if the name passed in is a LaunchSite
- Parameters
-
| inputName | name of the facility/launchsite |
| displayName | Returns the displayName for the facility or launchsite if found. |
- Returns
- true if it is. Otherwise false.
| bool PSystemSetup.IsStockLaunchSite |
( |
string |
name | ) |
|
|
inline |
Check if LaunchSite name is a stock launchsite or not. Missions Expansion must be installed. Otherwise will return false in all cases.
- Parameters
-
| name | name of the launchsite |
- Returns
- true if it is. Otherwise false.
| void PSystemSetup.LoadTestScene |
( |
GameScenes |
sceneBase | ) |
|
|
inline |
Call this method to override the next scene transition and invoke the setup for a given scene type (useful for test scenes)
- Parameters
-
| bool PSystemSetup.RemoveLaunchSite |
( |
string |
name | ) |
|
|
inline |
Remove a LaunchSite from the stored list. Will destroy the PQSCity or PQSCity2 object as well.
- Parameters
-
- Returns
- True if the launchsite could be removed. returns false on failure or if the MissionsExpansion is not installed
| void PSystemSetup.RemoveNonStockLaunchSites |
( |
| ) |
|
|
inline |
Will remove all Non Stock LaunchSites from the system. This includes deleting the PQSCity and PQSCity2 game objects.
| void PSystemSetup.SetPQSActive |
( |
PQS |
pqs | ) |
|
|
inline |
| void PSystemSetup.SetPQSActive |
( |
| ) |
|
|
inline |
| void PSystemSetup.SetPQSDisabled |
( |
| ) |
|
|
inline |
| void PSystemSetup.SetPQSInactive |
( |
bool |
keepActiveInFlight = false | ) |
|
|
inline |
| string PSystemSetup.pqsToActivate = "Kerbin" |
| string PSystemSetup.pqsTransformToCache = "KSC" |
A list of all the LaunchSites in the game.
Returns an Array of all Non-Stock Launch Sites (this includes mission launch sites).
| Transform PSystemSetup.SCTransform |
|
get |
Array of the stock launch sites (not removable) in the game.
The documentation for this class was generated from the following file: