# SimMission Navigation Services The following [Mission XML Properties](../mission-xml-files/mission-xml-properties/) are used when you want to manipulate [Navigation Services](navigation-services/) in a mission.     ### <SimMission.CreateCabinServiceObject> This sub-element of `` is used to request that the navigation service creates all the specified behaviour objects using the parameters set in the [FLT](../flt-files/flt-file-properties/) for the mission. This element has the following sub-elements: 1. ``: The object container that contains the navigation service 2. ``: Name of the behaviour object   This element has the following attributes:   {{< table-wrapper >}} | Attribute | Description | Type | Required | |--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|:--------:| | `InstanceId` | The unique ID for the element, as a [GUID](../mission-xml-files/mission-elements/calculator/#) enclosed in `{}`. You can find more information on GUID's here: [GUIDs](../../introduction/using-the-sdk/#GUIDs) | String | Yes | {{< /table-wrapper >}}     ### <SimMission.RemoveCabinServiceObject> This sub-element of `` is used to remove a specific type of behaviour object from the Navigation Service controller. This element has the following sub-elements: 1. ``: The object container that contains the navigation service 2. ``: Name of the behaviour object 3. ``: Filter used to decide which objects to remove based on location   This element has the following attributes:   {{< table-wrapper >}} | Attribute | Description | Type | Required | |--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|:--------:| | `InstanceId` | The unique ID for the element, as a [GUID](../mission-xml-files/mission-elements/calculator/#) enclosed in `{}`. You can find more information on GUID's here: [GUIDs](../../introduction/using-the-sdk/#GUIDs) | String | Yes | {{< /table-wrapper >}}   ### <SimMission.SetCabinStateAction> This sub-element of `` is used to set the state of the given navigation state {{< glossterm >}}fsm{{< /glossterm >}}. This element has the following sub-elements: 1. ``: The object container that contains the navigation service 2. ``: The name of the new navigation service state (this name must exist in the navigation service XML) 3. ``: The name of the navigation service to set the sate on 4. ``: Whether to force the navigation service state or not   This element has the following attributes:   {{< table-wrapper >}} | Attribute | Description | Type | Required | |--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|:--------:| | `InstanceId` | The unique ID for the element, as a [GUID](../mission-xml-files/mission-elements/calculator/#) enclosed in `{}`. You can find more information on GUID's here: [GUIDs](../../introduction/using-the-sdk/#GUIDs) | String | Yes | {{< /table-wrapper >}}     #### <StateName> The state name to set the navigation service {{< glossterm >}}fsm{{< /glossterm >}} to. This name has to have been defined in the [Navigation Services XML](navigation-services-xml-properties/) file.   #### <CabinServiceName> The name of the navigation service to set the {{< glossterm >}}fsm{{< /glossterm >}} 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 `` 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 {{< glossterm >}}fsm{{< /glossterm >}}).   This element has the following sub-elements: 1. ``: The object container of the navigation service to link to 2. ``: The list of target object containers to be added as behaviour objects 3. ``: The behaviour tag of the new behaviour objects   This element has the following attributes:   {{< table-wrapper >}} | Attribute | Description | Type | Required | |--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|:--------:| | `InstanceId` | The unique ID for the element, as a [GUID](../mission-xml-files/mission-elements/calculator/#) enclosed in `{}`. You can find more information on GUID's here: [GUIDs](../../introduction/using-the-sdk/#GUIDs) | String | Yes | {{< /table-wrapper >}}     #### <TargetContainers> This is a container element used in `` to list one or more ``.     ### <ParamBehaviourName> This element has no attributes and is a sub-element of: 1. `` 2. `` 3. `` 4. `` 5. ``   It is used to define the name of a behaviour object.     ### <ParamBehaviourState> This element has no attributes and is a sub-element of: 1. `` 2. ``   It is used to define the name of a behaviour state.     ### <ParamBehaviourTask> This element has no attributes and is a sub-element of: 1. `` 2. ``   It is used to define the name of a behaviour task.     ### <ParamIsInCabin> This is a sub-element of the following: 1. `` 2. `` 3. ``   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: 1. ``: The object container of the navigation service to link to (required). 2. ``: The name of the navigation service to set the state on (required). 3. ``: Specify the action to perform (required).   #### <LoadAction> This sub-element of `` 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.