- Messages
- 1,068
- Country

Code:
<Gauge Name="Spartan_ELT" Version="1.0">
<Image Name="ELT_Background.bmp"/>
<Element>
<Select>
<Value>(L:Spartan_ELT,bool)</Value>
<Case Value="0">
<Image Name="unpushed.bmp" Luminous="Yes" />
</Case>
<Case Value="1">
<Image Name="pushed.bmp" Luminous="Yes" />
</Case>
</Select>
</Element>
<Element>
<Select>
<Value>(L:Spartan_ELT,bool)</Value>
<Case Value="0">
<Image Name="lightoff.bmp" Luminous="Yes" />
</Case>
<Case Value="1">
<Image Name="lighton.bmp" Luminous="Yes" />
</Case>
</Select>
<Element>
<Select>
<Value>
(L:Spartan_ELT,bool) 1 ==
(L:dsd_fsx_sound_id_09,number) 0 ==
and
if{
1 (>L:dsd_fsx_sound_id_09,number)
}
(L:Spartan_ELT,bool) 0 ==
(L:dsd_fsx_sound_id_09,number) 0 !=
and
if{
0 (>L:dsd_fsx_sound_id_09,number)
}
</Value>
</Select>
</Element>
<Mouse>
<Cursor Type="Hand"/>
<Tooltip>%((L:Spartan_ELT,bool) 1 ==)%{if}pushed (ON)%{end}%((L:Spartan_ELT,bool) 0 ==)%{if}unpushed (OFF)%{end}</Tooltip>
<Click>(L:Spartan_ELT,bool) ! (>L:Spartan_ELT,bool)</Click>
</Mouse>
</Gauge>
I ran this through the xml code checker software but I can't see any error and it doesn't play the wav file. Can someone see where I have an error, please?

