Try this:
var myTempNode = props.globals.initNode("/sim/temp/TempNode", 50,"INT");
myTempNode.setValue(getprop("instrumentation[0]/altimeter/indicated-altitude-ft"));
> The code i am using....
> var myTempNode = props.globals.getNode("/sim/temp/TempNode", 1,);
remove comma at the end.
> myTempNode.setIntValue( 50 );
> setprop("/sim/temp/TempNode",getprop("instrumentation[0]/altimeter/indicated-altitude-ft"));
>
>
> Could you please guide me on where i am going wrong please?
>
>
> Thank you
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel