From ea90d0b22c687ae7eb71d6db2e9c62eb0ba03ec8 Mon Sep 17 00:00:00 2001 From: annabunches Date: Wed, 18 Aug 2021 04:43:45 -0400 Subject: [PATCH] Add program to perform action group at node. --- prog/nodeaction.ks | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 prog/nodeaction.ks diff --git a/prog/nodeaction.ks b/prog/nodeaction.ks new file mode 100644 index 0000000..198997f --- /dev/null +++ b/prog/nodeaction.ks @@ -0,0 +1,17 @@ +// Perform some action (AG1) at the maneuver node. + +@lazyglobal off. + +set done to false. + +if not HASNODE { + print "Create a node to initiate NodeAction mode.". + wait until HASNODE. +} + +when NEXTNODE:ETA < 1 then { + AG1. + set done to true. +} + +wait until done.