I've added a new command to cycle a property through an enumerated
list of values.  It looks like this:

  <binding>
   <command>property-cycle</command>
   <property>/foo/bar</property>
   <value>value1</value>
   <value>value2</value>
   <value>value3</value>
  </binding>

If the current value is "value1", it will change to "value2"; if it is
"value2", it will change to "value3", and so on, wrapping around the
end.  If the value is not in the list, it will jump to the first one
("value1" in this case).


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to