| Scenario Functions | |
| Scenario Functions | |
| Structured Scenario Specific Function Name |
| Scenario Functions | |
SimConnect_FlightLoad(szFileName as String)Used to load an existing scenario file. | |
SimConnect_FlightLoadW(szFileName as String)Used to load an existing scenario file. This version of the function supports unicode file paths. | |
FlightPlanLoad(szFileName as String)Used to load an existing flight plan. | |
FlightPlanLoadw(szFileName as String)Used to load an existing flight plan. This version of the function supports unicode file paths. | |
FlightSave(szFileName as String, szTitle as String, szDescription as String, Flags as UInteger)Used to save the current state of a scenario to a scenario file. | |
FlightSaveW(szFileName as String, szTitle as String, szDescription as String, Flags as UInteger)Used to save the current state of a scenario to a scenario file. This version of the function supports unicode file paths, titles, and descriptions. |
| Structured Scenario Specific Function Name | |
CompleteCustomMissionAction(guidInstanceID as ValueType)Used to complete the scenario action specified by a GUID. | |
ExecuteMissionAction(guidInstanceID as ValueType)Used to execute the scenario action specified by a GUID. | |
RequestFlightSegmentCount(RequestID as [Enum])Used to request the number of Flight Segment objects in the active scenario. | |
RequestFlightSegmentDataByGUID(RequestID as [Enum], guidInstanceID as ValueType))Used to request information about a Flight Segment object in the active scenario. | |
RequestFlightSegmentDataByIndex(ReqestID as [Enum], flightSegmentIndex as Integer)Used to request information about a Flight Segment object in the active scenario. | |
RequestFlightSegmentRangeData(RequestID as [Enum], guidInstanceID as ValueType, rangeIndex as Integer)Used to request information about a specific range of a Flight Segment object in the active scenario. | |
RequestGoalCount(RequestID as [Enum])Used to request the number of Goal/Group Goal objects in the active scenario. | |
RequestGoalDataByGUID(RequestID as [Enum], guidInstanceID as ValueType)Used to request information about a Goal/Group Goal object in the active scenario. | |
RequestGoalDataByIndex(RequestID as [Enum], goalIndex as Integer)Used to request information about a Goal/Group Goal object in the active scenario. | |
RequestMissionObjectiveCount(RequestID as [Enum])Used to request the number of Mission Objective objects in the active scenario. | |
RequestMissionObjectiveDataByGUID(RequestID as [Enum], guidInstanceID as ValueType)Used to request information about a Goal/Group Goal object in the active scenario. | |
RequestMissionObjectiveDataByIndex(RequestID as [Enum], goalIndex as Integer)Used to request information about a Goal/Group Goal object in the active scenario. | |
ResolveGoal(guidInstanceID as ValueType, goalResolution as SIMCONNECT_GOAL_RESOLUTION)Used to resolve a goal to specified goal state. | |
RequestChildGoalDataByIndex(RequestID as [Enum], parentGuidInstanceID as ValueType, goalIndex as Integer)Used to request information about a mission objective or group goal's children. | |
RequestLandingTriggerCount(RequestID as [Enum])Used to request the number of Area Landing Trigger or Airport Landing Trigger objects in the active scenario. | |
RequestLandingTriggerLandingInfoCount(RequestID as [Enum], landingTriggerIndex as Integer)Used to request information about a Landing Trigger object's landings in the active scenario. | |
RequestLandingTriggerLandingInfoByIndex(RequestID as [Enum], landingTriggerIndex as Integer, landingIndex as Integer)Used to request information about a specific landing of a Landing Trigger object in the active scenario. | |
RequestMobileSceneryInRadius(RequestID as [Enum], dwRadiusMeters as UInteger)Used to retrieve mobile scenery objects thatare within a specified radius of the user's vehicle. | |
RequestMobileSceneryDataByID(RequestID as [Enum, dwObjectID as UInteger])Used to retrieve data about a specific mobile scenery object using its object ID. |