149
edits
Line 196: | Line 196: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Clearly the checklist sequence used for in-air start should be different from a ground start and should put the aircraft into a flying state, e.g. gear up, flaps up. | Clearly the checklist sequence used for in-air start should be different from a ground start and should put the aircraft into a flying state, e.g. gear up, flaps up. Bindings can use the property <tt>sim/checklists/auto/expedited</tt> to check if the execution is expedited, i.e. there is no wait between items. Note that the expedited flag does not in itself indicate whether a binding is being run as part of an automated checklist. You would normally need to test both the <tt>sim/checklists/auto/active</tt> and <tt>sim/checklists/auto/expedited</tt> properties, e.g. | ||
<syntaxhighlight lang="nasal"> | |||
var auto = getprop("sim/checklists/auto/active"); | |||
var expedited = getprop("sim/checklists/auto/expedited"); | |||
if (auto and expedited) { | |||
... | |||
} | |||
</syntaxhighlight> | |||
=== Customizing execution (optional) === | === Customizing execution (optional) === |
edits