euroastar350
Resource contributor
- Messages
- 863
- Country

Hi guys,
I am looking into converting this 2D gauge code for use as a 3D part script for one of my projects and I need to know if the mouse section of this script is usable for an FSX modeldef script or if it's rewritten a different way. Any help is appreciated.
I am looking into converting this 2D gauge code for use as a 3D part script for one of my projects and I need to know if the mouse section of this script is usable for an FSX modeldef script or if it's rewritten a different way. Any help is appreciated.
Code:
<Gauge Name="start/crank" Version="1.0">
<Element>
<Select>
<Value>(L:stcr switch,enum)</Value>
<Case Value="0">
<Image Name="ver_off.bmp"/>
</Case>
<Case Value="1">
<Image Name="ver_up.bmp"/>
</Case>
<Case Value="2">
<Image Name="ver_down.bmp"/>
</Case>
</Select>
</Element>
<Mouse>
<Cursor Type="Hand"/>
<Click>(L:stcr switch,enum) ++ d 2 > if{ 0 } (>L:stcr switch,enum)</Click>
<Tooltip ID="">Starting/Cranking switch</Tooltip>
</Mouse>
</Gauge>
