bool Expansions.Missions.Runtime.MissionSystem.AddMission |
( |
MissionFileInfo |
missionInfo | ) |
|
|
inline |
static void Expansions.Missions.Runtime.MissionSystem.CreateCheckpoint |
( |
MENode |
node, |
|
|
bool |
addUTStamp = false |
|
) |
| |
|
inlinestatic |
Create a mission test checkpoint, this can only be done in test mode
- Parameters
-
< allow saving in all states except ladder and moving over srf.
static void Expansions.Missions.Runtime.MissionSystem.DisplayMissionEndMessage |
( |
| ) |
|
|
inlinestatic |
static void Expansions.Missions.Runtime.MissionSystem.DisplayMissionEndMessage |
( |
Mission |
finishedMission | ) |
|
|
inlinestatic |
static bool Expansions.Missions.Runtime.MissionSystem.HasFinishedMission |
( |
| ) |
|
|
inlinestatic |
Build the meta data from a mission file.
- Parameters
-
missionInfo | Information about the mission file. |
- Returns
- Meta data for the mission file.
static Mission Expansions.Missions.Runtime.MissionSystem.LoadMission |
( |
MissionFileInfo |
missionInfo, |
|
|
bool |
loadSavedMission = false , |
|
|
bool |
initMission = false , |
|
|
bool |
simple = false |
|
) |
| |
|
inlinestatic |
Load and returns a Mission object from the passed in MissionFileInfo. Will Load from the mission FilePath (.mission) file or from the SavePath (.sfs) file based on the passed in bool value.
- Parameters
-
missionInfo | The MissionFileInfo for the Mission we want to load |
loadSavedMission | True to load from the SavePath(.sfs) or False to load from the FilePath(.mission). Default = false |
initMission | Set to True to run Mission.InitMission |
- Returns
- A loaded Mission object
override void Expansions.Missions.Runtime.MissionSystem.OnAwake |
( |
| ) |
|
|
inlinevirtual |
override void Expansions.Missions.Runtime.MissionSystem.OnLoad |
( |
ConfigNode |
node | ) |
|
|
inlinevirtual |
override void Expansions.Missions.Runtime.MissionSystem.OnSave |
( |
ConfigNode |
node | ) |
|
|
inlinevirtual |
Set the Camera Mode and Locks for the system
- Parameters
-
mission | The mission making the request |
newCameraMode | Mode to change to |
newCameraLock | Locs to apply |
IEnumerator Expansions.Missions.Runtime.MissionSystem.SetupMissionGame |
( |
MissionFileInfo |
missionInfo, |
|
|
bool |
playMission, |
|
|
bool |
testMode, |
|
|
Callback |
onSuccess = null , |
|
|
Callback |
onFail = null , |
|
|
string |
overrideSaveFile = null , |
|
|
bool |
trackingStation = false |
|
) |
| |
|
inline |
Handles the start setup of a mission
- Parameters
-
missionInfo | The MissionFileInfo for the mission |
playMission | true if we are setting up to Play the mission, false if not (eg. returning from Editor during Mission Building) |
testMode | if true will run the mission in test mode |
onSuccess | Callback to call when Setup of Mission Game is successful. |
onFail | Callback to call when Setup of Mission Game is unsuccessful. |
overrideSaveFile | If not null this will override the name of the saved mission we want to load |
trackingStation | True if we are building the game for the Tracking Station scene from the mission builder. (Default is false). Use for any other reason at own risk! |
- Returns
Awards Expansions.Missions.Runtime.MissionSystem.awardDefinitions |
|
static |
List of the award definitions
List<Mission> Expansions.Missions.Runtime.MissionSystem.missions |
|
static |
This is the list of currently loaded missions.
Score information for the missions
bool Expansions.Missions.Runtime.MissionSystem.HasMissions |
|
staticget |
Indicates if there is at least 1 mission.
bool Expansions.Missions.Runtime.MissionSystem.IsActive |
|
staticgetset |
bool Expansions.Missions.Runtime.MissionSystem.IsTestMode |
|
staticgetset |
The documentation for this class was generated from the following file: