Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.
By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

<part>
<name>wheel_chocks_switch</name>
<animation>
<parameter>
<code>(L:wheel_chocks_visible, bool) 50 *</code>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<tooltip_text>Hide Wheel Chocks</tooltip_text>
<callback_code>(L:wheel_chocks_visible, bool) ! (>L:wheel_chocks_visible, bool)</callback_code>
</mouserect>
</part>
<part>
<name>wheel_chocks</name>
<visible_in_range>
<parameter>
<code>(L:wheel_chocks_visible, bool)</code>
</parameter>
<minvalue>-1</minvalue>
<maxvalue>0</maxvalue>
</visible_in_range>
</part>

*Papa* Bill Leaming help us please. 

Hi Sandra,
I put the code into the makendl.xml and attempted to create several switches with no luck. Not much of a vc guy! lol Anyhow, I'm still lost on how to get this part to disappear by a via key command.
docII
<part>
<name>no_chocks</name>
<visible_in_range>
<parameter>
<code>(A:GENERAL ENG PCT MAX RPM:1, percent)</code>
</parameter>
<minvalue>-1</minvalue>
<maxvalue>1</maxvalue>
</visible_in_range>
</part>


Would you mind demonstrating an FSX version with this to show the differences? Might save trouble in the future for someone trying to accomplish the same thing, but with FSX instead of FS9...Understand that this is valid for FS2004 (FS9) only. FSX's XML script is much different.

Ok, since this seems to be a little more complicated that I originally thought, I should fully explain exactly what I'm trying to accomplish.
Doc

Okay. Here are examples of XML script that will hide/show the pilot's yoke in a virtual cockpit. Both examples have two scripts.Would you mind demonstrating an FSX version with this to show the differences? Might save trouble in the future for someone trying to accomplish the same thing, but with FSX instead of FS9...![]()
<!-- Pilot's Yoke XML Scripts -->
<part>
<name>hide_pilots_yoke</name>
<mouserect>
<cursor>Hand</cursor>
<tooltip_text>Hide Pilot's Yoke</tooltip_text>
<callback_code>
(L:YokePilot,bool) ! (>L:YokePilot,bool)
</callback_code>
</mouserect>
</part>
<part>
<name>yoke_pilot</name>
<visible_in_range>
<parameter>
<code>(L:YokePilot,bool)</code>
</parameter>
<minvalue>-1</minvalue>
<maxvalue>0</maxvalue>
</visible_in_range>
</part>
<!-- Pilot's Yoke Animation/GUID Name Definitions -->
<Animation name="hide_pilots_yoke" guid="54647385-cff7-679c-a657-9b9cd33e4f12" length="100" type="Sim" typeParam2="hide_pilots_yoke" typeParam="AutoPlay" />
<Animation name="yoke_pilot" guid="54577386-cff7-679c-a658-ab9cd33e4f13" length="100" type="Sim" typeParam2="yoke_pilot" typeParam="AutoPlay" />
<!-- Pilot's Yoke XML Scripts -->
<PartInfo>
<Name>hide_pilots_yoke</Name>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Hide Pilot's Yoke</TooltipText>
<CallbackCode>
(L:YokePilot,bool) ! (>L:YokePilot,bool)
</CallbackCode>
</MouseRect>
</PartInfo>
<PartInfo>
<Name>yoke_pilot</Name>
<Visibility>
<Parameter>
<Code>(L:YokePilot,bool) 0 > if{ 0 } els{ 1 }</Code>
</Parameter>
</Visibility>
</PartInfo>
<visible_in_range>
<parameter>
<code>(L:YokePilot,bool)</code>
</parameter>
<minvalue>-1</minvalue>
<maxvalue>0</maxvalue>
</visible_in_range>
<Visibility>
<Parameter>
<Code>(L:YokePilot,bool) 0 > if{ 0 } els{ 1 }</Code>
</Parameter>
</Visibility>




your check is in the mail...
I presume that the list of conditions is in the SDK? (*as far as AI modeling goes, it'd be a simple list of engine on/off, lights on/off, etc -- right?*)