From ef9caa13109028709ae4535ebba6769aa3cd0584 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 22 Mar 2007 17:08:05 +0000 Subject: [PATCH] - can have arbitrary names - pair: allow to set from or second - support pairs in , too. This can be used to restore values. - add optional to ///. This is meant for cockpit tutorials. See the Lightning's startup tutorial for an example. --- Nasal/tutorial.nas | 86 ++++++++++++++++++++++++++++++---------------- 1 file changed, 56 insertions(+), 30 deletions(-) diff --git a/Nasal/tutorial.nas b/Nasal/tutorial.nas index 409b6d258..c2201bfc9 100644 --- a/Nasal/tutorial.nas +++ b/Nasal/tutorial.nas @@ -32,16 +32,17 @@ # # -# - the tutorial will always keep properties -# /sim/tutorial/targets/target[*]/{direction-deg,distance-m} -# up-to-date for each +# - optional; define targets with arbitrary names +# - for each target "foo" the tutorial will keep properties +# /sim/tutorial/targets/foo/{direction-deg,distance-m} +# up-to-date # # - Optional: Initialization section consist of one or more -# set nodes: +# set nodes, and optionall a view node: # -# - Property to set -# - value +# - Property to set +# / - value or property to set from +# # # - Tutorial step - a segment of the tutorial, consisting of # the following: @@ -51,6 +52,8 @@ #