Cees Donker
SOH-CM-2024
This is a model I made for FSX. I made this in FSDS 3.51. I want the driver (the figure you see) to appear when the engine is ON and the exit (door_0 ) is OPEN. The hatch you see is door_0. I'm not very savvy with codes, but I tried several ones, to no avail. This is the code I used in modeldef.xml. Nothing happens. Help is very much appreciated
<Animation name="Driver" guid="79cc48e2-cad5-485d-9bf0-4c1d75acd3d3" length="100" type="Sim" typeParam2="Driver" typeParam="AutoPlay" />
<PartInfo>
<Name>Driver</Name>
<Visibility>
<Parameter>
<Code>
(A:EXIT CLOSED, bool) ! ==
(A
and
if{ 0 } els{ 1 }
</Code>
</Parameter>
</Visibility>
</PartInfo>
Can anyone help me to a working code? I know I could opt for pilot_vanish, but I really want the driver only to appear when the hatch is open.
Thanks in advance!
Cees