<?xml version="1.0"?>

<!-- "Discontinue start" btn -->

<PropertyList>
 <path>../../shared/knobs_buttons/spring_load_btn01.ac</path>

<animation>
  <type>pick</type>
  <object-name>press_me</object-name>
  <visible>true</visible>
  <action>
    <button>0</button>
    <repeatable>false</repeatable>
    <binding>
      <command>nasal</command>
      <script>
        interpolate("an24/Start-Panel/timerapd", 0.0, 3.0 );
        if( getprop("an24/Start-Panel/left-right") == 0.0 ){
        setprop("controls/engines/engine[0]/cutoff", 1.0 );
        setprop("controls/engines/engine[0]/starter", 0.0 );}
        else {setprop("controls/engines/engine[1]/cutoff", 1.0 );
	setprop("controls/engines/engine[1]/starter", 0.0 );}
        settimer(func {interpolate("an24/Start-Panel/discontinuestart_ai-24_btn", 0.0, 0.1 );},0.2);
      </script>
    </binding>
  </action>
   <hovered>
     <binding>
       <command>set-tooltip</command>
       <label>Discontinue AI-24 Engine Start</label>
       <tooltip-id>disc_ai-24</tooltip-id>
     </binding>
   </hovered>
</animation>

<animation>
  <type>translate</type>
  <object-name>press_me</object-name>
  <property>an24/Start-Panel/discontinuestart_ai-24_btn</property>
  <factor>0.003</factor>
  <axis>
    <x>0</x>
    <y>0</y>
    <z>-1</z>
  </axis>
</animation>

</PropertyList>
