SimMission Navigation Services
The following Mission XML Properties are used when you want to manipulate Navigation Services in a mission.
<SimMission.CreateCabinServiceObject>
This sub-element of <WorldBase.Flight> is used to request that the navigation service creates all the specified behaviour objects using the parameters set in the FLT for the mission. This element has the following sub-elements:
<ObjectReference />: The object container that contains the navigation service<ParamBehaviourName>: Name of the behaviour object
This element has the following attributes:
| Attribute | Description | Type | Required |
|---|---|---|---|
InstanceId |
The unique ID for the element, as a GUID enclosed in {}. You can find more information on GUID's here: GUIDs |
String | Yes |
<SimMission.RemoveCabinServiceObject>
This sub-element of <WorldBase.Flight> is used to remove a specific type of behaviour object from the Navigation Service controller. This element has the following sub-elements:
<ObjectReference />: The object container that contains the navigation service<ParamBehaviourName>: Name of the behaviour object<ParamIsInCabin>: Filter used to decide which objects to remove based on location
This element has the following attributes:
| Attribute | Description | Type | Required |
|---|---|---|---|
InstanceId |
The unique ID for the element, as a GUID enclosed in {}. You can find more information on GUID's here: GUIDs |
String | Yes |
<SimMission.SetCabinStateAction>
This sub-element of <WorldBase.Flight> is used to set the state of the given navigation state FSM. This element has the following sub-elements:
<ObjectReference />: The object container that contains the navigation service<StateName>: The name of the new navigation service state (this name must exist in the navigation service XML)<CabinServiceName>: The name of the navigation service to set the sate on<ForceCabinServiceState>: Whether to force the navigation service state or not
This element has the following attributes:
| Attribute | Description | Type | Required |
|---|---|---|---|
InstanceId |
The unique ID for the element, as a GUID enclosed in {}. You can find more information on GUID's here: GUIDs |
String | Yes |
<StateName>
The state name to set the navigation service FSM to. This name has to have been defined in the Navigation Services XML file.
<CabinServiceName>
The name of the navigation service to set the FSM state on.
<ForceCabinServiceState>
This can be used to force the cabin state by setting it to TRUE. If this element is not included then it will default to FALSE.
<SimMission.AddCabinServiceLink>
This sub-element of <WorldBase.Flight> is used to add one or more container objects to a navigation service, such that they become behaviour objects (linked to the behaviour states of the service FSM).
This element has the following sub-elements:
<ObjectReference />: The object container of the navigation service to link to<TargetContainers>: The list of target object containers to be added as behaviour objects<ParamBehaviourName>: The behaviour tag of the new behaviour objects
This element has the following attributes:
| Attribute | Description | Type | Required |
|---|---|---|---|
InstanceId |
The unique ID for the element, as a GUID enclosed in {}. You can find more information on GUID's here: GUIDs |
String | Yes |
<TargetContainers>
This is a container element used in <SimMission.AddCabinServiceLink> to list one or more <ObjectReference />.
<ParamBehaviourName>
This element has no attributes and is a sub-element of:
<SimMission.CreateCabinServiceObject><SimMission.RemoveCabinServiceObject><SimMission.AddCabinServiceLink><CabinServiceBehaviourParameter><ParentCabinServiceBehaviourParameter>
It is used to define the name of a behaviour object.
<ParamBehaviourState>
This element has no attributes and is a sub-element of:
It is used to define the name of a behaviour state.
<ParamBehaviourTask>
This element has no attributes and is a sub-element of:
It is used to define the name of a behaviour task.
<ParamIsInCabin>
This is a sub-element of the following:
<SimMission.RemoveCabinServiceObject><CabinServiceBehaviourParameter><ParentCabinServiceBehaviourParameter>
The element is used to define from where the behaviour objects should be selected. It can only be one of the following strings:
- All: All objects are chosen
- OnlyInCabin: Only objects found in the cabin are chosen
- OnlyOutCabin: Only objects found outside the cabin are chosen
<SimMission.SetLoadInGraph>
This element is used to request an action to be performed on the loads of the navigation graph, and requires at least one node with spawnLoad set to "true".
This element has the following sub-elements:
<ObjectReference />: The object container of the navigation service to link to (required).<CabinServiceName>: The name of the navigation service to set the state on (required).<LoadAction>: Specify the action to perform (required).
<LoadAction>
This sub-element of <SimMission.SetLoadInGraph> is used to define the action to be performed on the loads, and can contain one of the following strings:
- None - Do nothing
- AddInAircraft - Add the load to the aircraft.
- RemoveFromAircraft - Remove the load from the aircraft.