Hi all,
I'm finding it a little bit challenging trying to make sense of how to use the select statement.
See the below code for a really simple example that obviously has a problem somewhere because it's not working. I've used the FS2004 guide from here.
Is the below code something that would work in FS2004 but no longer in FSX? Or am I simply doing something wrong? If so, what am I doing wrong?
Thanks everyone, really appreciate your help.
Trent
I'm finding it a little bit challenging trying to make sense of how to use the select statement.
See the below code for a really simple example that obviously has a problem somewhere because it's not working. I've used the FS2004 guide from here.
Is the below code something that would work in FS2004 but no longer in FSX? Or am I simply doing something wrong? If so, what am I doing wrong?
Thanks everyone, really appreciate your help.
Trent
Code:
<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document Type="AceXML" version="1,0">
<Descr>AceXML Document</Descr>
<Filename>annunciator_auto_brake_disarm.xml</Filename>
<SimGauge.Gauge id="annunciator_auto_brake_disarm" ArtDirectory=".">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>47,27</Size>
<Element id="Element0">
<FloatPosition>0.000,0.000</FloatPosition>
<Select>
<Value>(A:LIGHT PANEL, bool)</Value>
<Case Value="0">
<Image Id="Image01" Name="annunciator_auto_brake_disarm_off.bmp"></Image>
</Case>
<Case Value="1">
<Image Id="Image02" Name="annunciator_auto_brake_disarm_off_night.bmp"></Image>
</Case>
</Select>
</Element>
</SimGauge.Gauge>
</SimBase.Document>

