David Luff wrote:
Finally, is there a way to make an operation dependent on two properties in an xml sound file? - I'd like to make a further drop in engine volume dependent on both /sim/current-view/internal AND /sim/general/headphones (or something like that) being true.
If you mean, make and audio *event* dependent on two properties then you will have to use conditions (See docs-mini/README.conditions)
If you want the pitch and/or volume changed based on two properties you can define two sections, each reacting to it's own property:
<volume> <property>/engines/engine/mp-osi</property> <factor>0.00375</factor> <min>0.15</min> <max>0.5</max> </volume> <volume> <property>/orientation/alpha-deg</property> <type>log</type> <min>1.0</min> <max>1.5</max> </volume>
Erik
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d