Missions

From FlightGear wiki
Jump to navigation Jump to search
WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

Mission objects

Actions

adjust-payload-action

<object>
    <name>...</name>
    <type>adjust-payload-action</type>
    <station-id>...</station-id>
    <adjustment-type>...</adjustment-type> "set" or "add"; default: "set"
    <weight>...</weight>
    <units>kg</units>                      "kg" or "lb"; default: "lb"
</object>

dialog-action

<object>
    <name>...</name>
    <type>dialog-action</type>
    <text>...</text>
    <sound-file>...</sound-file>           *.wav
    <delay-sec>...</delay-sec>
</object>

model

<object>
    <name>...</name>
    <type>model</type>
    <activated>...</activated>                    0/1
    <path>...</path>
    <orientation>
        <heading-deg>...</heading-deg>
        <pitch-deg>...</pitch-deg>
        <roll-deg>...</roll-deg>
    </orientation>
    <world-position>
        <latitude-deg>...</latitude-deg>
        <longitude-deg>...</longitude-deg>
        <altitude-m>...</altitude-m>
        <altitude-is-AGL>...</altitude-is-AGL>    0/1
    </world-position>
</object>

object-activation-action

<object>
    <name>...</name>
    <type>object-activation-action</type>
    <object-state>...</object-state>                         0/1
    <reference-list>
        <object-reference>...</object-reference>
        <object-reference>...</object-reference>
        ...
    </reference-list>
</object>

random-action

refuel-action

single-shot-sound-action

goal-resolution-action

Triggers

airport-landing-trigger

area-landing-trigger

menu-prompt-trigger

<object>
    <name>...</name>
    <type>menu-prompt-trigger</type>
    <activated>...</activated>
    <text>...</text>
    <menu-item>
        <text>...</text>
        <actions>...</actions>
    </menu-item>
    <menu-item>...</menu-item>
</object>

property-trigger

<object>
    <name>...</name>
    <type>property-trigger</type>
    <activated>...</activated>
    <condition>...</condition>
    <actions>...</actions>
</object>

proximity-trigger

timer-trigger

Areas

Goals

Mission examples

Adding extensions