source: xplra/misc/test5.sh@ 78:197b15f4513a

Last change on this file since 78:197b15f4513a was 10:b0048ba6f3ca, checked in by István Váradi <ivaradi@…>, 12 years ago

Implemented the commands querying or setting multiple datarefs directly

  • Property exe set to *
File size: 508 bytes
Line 
1#!/bin/sh
2
3scriptdir=`dirname $0`
4
5"${scriptdir}/client.py" <<EOF
6multiget sim/aircraft/engine/acf_num_engines i sim/aircraft/view/acf_tailnum s -1 0
7multiset sim/aircraft/engine/acf_num_engines i 4 sim/aircraft/view/acf_tailnum s 40 0 HA-VAI
8multiget sim/aircraft/engine/acf_num_engines i sim/aircraft/view/acf_tailnum s -1 0
9multiset sim/aircraft/engine/acf_num_engines i 2 sim/aircraft/view/acf_tailnum s 40 0 HA-VAR
10multiget sim/aircraft/engine/acf_num_engines i sim/aircraft/view/acf_tailnum s -1 0
11EOF
Note: See TracBrowser for help on using the repository browser.