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>switch_strobe_light</name>
<animation>
<parameter>
<sim>
<variable>LIGHT STROBE</variable>
<units>bool</units>
<scale>50</scale>
</sim>
<lag>400</lag>
</parameter>
</animation>
<mouserect>
<cursor>Hand</cursor>
<help_id>HELPID_GAUGE_LIGHT_SWITCH_STROBE</help_id>
<tooltip_id>TOOLTIPTEXT_LIGHT_SWITCH_STROBE</tooltip_id>
<event_id>STROBES_TOGGLE</event_id>
</mouserect>
</part>
<Animation name="switch_strobe_light" guid="a2db42b1-28c7-4fde-a659-71e016de7f46" length="50" type="Sim" typeParam2="switch_strobe_light" typeParam="AutoPlay" />
<PartInfo>
<Name>switch_strobe_light</Name>
<AnimLength>50</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>LIGHT STROBE</Variable>
<Units>bool</Units>
<Scale>50</Scale>
</Sim>
<Lag>400</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<HelpID>HELPID_GAUGE_LIGHT_SWITCH_STROBE</HelpID>
<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_STROBE</TooltipID>
<EventID>STROBES_TOGGLE</EventID>
</MouseRect>
</PartInfo>


Hello Bill
Thanks very much for your answers, they were all helpfull.
At the end of your last post you say that the function <VisibleInRange> does not work. In my FS9 XML Schema, the old function (<visible_in_range>) is used often. What would you use instead of <VisibleInRange> in the FSX XML Schema?
Best regards
Kurt Stoeckli
<Code>
(L:MyVariable,number) 40 >
(L:MyVariable,number) 60 <
and
if{ 1 } els{ 0 }
</Code>

But I discovered one very important thing:
I have some parts (pilot's ladder etc.) without animation, but these parts have to be visible under certain conditions. In this case, the part name has to be the same as the animation name in the modeldef.xml. This is not the case for parts with animation.
Can you confirm that?
Randomly the "FS Tools" in the menu bar of Gmax disappears. Sometime I have to restart Gmax several times for the "FS Tools" to appear again. Do you know anything about that?