I would like to automatically open a panel when an aircraft is loaded. I'm almost successful, except for one condition. When I initially start a flight the panel is not automatically displayed. However, the panel is automatically displayed when I reload the aircraft and when I change aircraft (i.e. initial display of changed aircraft results in successful panel display). So I'm missing the piece that causes the auto-display script to run when I initially start a flight.
The panel I want to display is MISC_POPUP_10.
The trigger gauge is:
In [Vcockpit01] in panel.cfg I have:
I also tried including the gauge in [Window00] and also tried including the gauge in both [Vcockpit01] and [Window00] at the same time. It works reliably in all circumstances, except for when the flight is initially loaded from the aircraft selection window. Changing aircraft while the sim is running works OK.
Does anyone know what I am missing?
Thanks!
Rick
The panel I want to display is MISC_POPUP_10.
The trigger gauge is:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Gauge Name="AutoDisplay" Version="1.0">
<Size X = "1" Y = "1"/>
<Update Hidden = "Yes">
(L:LoadPanel,bool) 0 ==
if{
269 (>K:PANEL_ID_OPEN)
1 (>L:LoadPanel,bool)
}
</Update>
</Gauge>
In [Vcockpit01] in panel.cfg I have:
Code:
gauge08=AutoDisplay!AutoDisplay, 0, 0
I also tried including the gauge in [Window00] and also tried including the gauge in both [Vcockpit01] and [Window00] at the same time. It works reliably in all circumstances, except for when the flight is initially loaded from the aircraft selection window. Changing aircraft while the sim is running works OK.
Does anyone know what I am missing?
Thanks!
Rick





