Hi,
I found the issue:
With the 2d-hotspots it looked like that:
...
<action>
<condition>
<and>
<equals>
<property>/controls/autoflight/autopilot/engage</property>
<value type="bool">true</value>
</equals>
<not-equals>
<property>/autopilot/locks/altitude</property>
<value type="string">gs1-hold</value>
</not-equals>
</and>
</condition>
<binding>
<command>property-assign</command>
<property>/autopilot/locks/altitude</property>
<value type="string">gs1-hold</value>
</binding>
<binding>
<command>property-assign</command>
<property>/autopilot/locks/heading</property>
<value type="string">nav1-hold</value>
</binding>
</action>
...
condition before binding
with click-animation it should look like that now for working:
...
<action>
<name>engage approach mode</name>
<button>0</button>
<binding>
<condition>
<and>
<equals>
<property>/controls/autoflight/autopilot/engage</property>
<value type="bool">true</value>
</equals>
<not-equals>
<property>/autopilot/locks/altitude</property>
<value type="string">gs1-hold</value>
</not-equals>
</and>
</condition>
<command>property-assign</command>
<property>/autopilot/locks/altitude</property>
<value type="string">gs1-hold</value>
</binding>
<binding>
<condition>
<and>
<equals>
<property>/controls/autoflight/autopilot/engage</property>
<value type="bool">true</value>
</equals>
<not-equals>
<property>/autopilot/locks/heading</property>
<value type="string">nav1-hold</value>
</not-equals>
</and>
</condition>
<command>property-assign</command>
<property>/autopilot/locks/heading</property>
<value type="string">nav1-hold</value>
</binding>
</action>
...
The condition are between the binding-tags now!
So I can go on!
Cheers
HHS
>I never knew there was such a thing. I managed to get something like
>that with select animations. Cumbersome, yes. But it works ;)
>I can supply you some sample code.
>> Hi,
>>
>> with CVS on win32 (01/04/2010 by Vivian and 01/08/2010 by >Laniel)conditions
>> on pick animation are completly ignored.
>>
>> I thought that was fixed recently? Or did miss something?
>> That makes progress on the 737-300 3d-MCP-Panel impossible right now :-
>
>> Kind Regards
>> HHS
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen
Massenmails.
http://mail.yahoo.com
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel