- Messages
- 1,749
- Country

Hey everyone!
I found a strange Problem with my Auto Pilot.
I made 4 different types of xml part codes that work
perfect. But when I use the keyboard shortcut it
turns the AP on and off but no animation!
I could put a couple of my xml samples up. But I think that
is not the issue. Do I need to use the default xml formula?
I also tried using..... switch_autopilot_master......no luck!
I will post my last try. I used the ...(A:AUTOPILOT_MASTER,BOOL)....no luck!
This code works perfect as long as you use the mouse!
Thanks DG,
I found a strange Problem with my Auto Pilot.
I made 4 different types of xml part codes that work
perfect. But when I use the keyboard shortcut it
turns the AP on and off but no animation!
I could put a couple of my xml samples up. But I think that
is not the issue. Do I need to use the default xml formula?
I also tried using..... switch_autopilot_master......no luck!
I will post my last try. I used the ...(A:AUTOPILOT_MASTER,BOOL)....no luck!
This code works perfect as long as you use the mouse!
<part>
<name>switch_auto_pilot</name>
<AnimLength>360</AnimLength>
<animation>
<parameter>
<sim>
<variable>AUTOPILOT MASTER</variable>
<units>bool</units>
<scale>50</scale>
</sim>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<help_id>HELPID_GAUGE_AUTOPILOT_MASTER</help_id>
<tooltip_id>TOOLTIPTEXT_AUTOPILOT_MASTER</tooltip_id>
<mouse_flags>LeftSingle+Wheel+MoveRepeat</mouse_flags>
<callback_code>
(A:AUTOPILOT_MASTER,BOOL)
0 (>L:WingLeveler, bool) 0 (>L:HeadingSelector, bool) 0 (>L:Var26, bool)
0 (>L:Var27, bool) 0 (>L:Var28, bool) 0 (>L:Var29, bool)
1 (>L:XMLSND1,enum)
</callback_code>
</mouserect>
</part>
Thanks DG,
Last edited:

