Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.
You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks!
The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!
See you on our MobiFlight Community Discord server.
A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.
The forum is still providing a lot of good content, hence we keep this information accessible.






Oh Ok... Now its clear....
As you already know we need a existing variable to make a Precondition ( Like the Gear Offset in the examples)
For your situation you can use a existing variable if possible.... For example the COM Transmit Offset ( Witch Microphone is active at the moment)
So you can say for example IF Microphone of COm1 is active Com1 should be shown in the Display.... If Com2 Micro is active show Com2 Frequency in the Display.
But i think you realy like a Input ( For example a 2 Position Switch) .... In Upper Position you like to Display Com1.... In Down Position you like Com2 on the Display....
HERE we get a little Problem cause Mobiflight NOT allow us to use a Real Switch Position for a Precondition ! As i told a Precondition needs always a Output Config from a OFFSET.
BUT We can use a trick..... We can work with a Custom Offset ! ( Custom Offsets are for example 66C0 - 66FF
A Custom Offset is a free FSUIPC offset that is not controlled by simulator itself....
In Easy Words...
You create a Input Config for the Switch that write our Custom Offsrt for example to 0 or 1 even witch postition the switch is.
Then you create a output Config ( No Device) and readout THIS Custom Offset. ( Cause we need a output Config for our Precondition)
Finaly you create 2 Output Configs for the Display ( one for Com1 and another for Com2)
To this 2 configs you set each a procondition.... Com1 only work if Custom Offset Readout Config =0 .... Com2 only work if the custom Offset = 1
NOW you can toggle your switch and set with this switch the custom offset to 1 or 0..... And the Display show Com1 or Com2 in case what value the Custom offset got at the moment !
I Hope you understand.....
PS
Short overview to your question with a bigger number of used functions....
With this technic you can for example use a 12 Position Rotary Switch instead of the 2 Position switch.... So you can theoretic show 12 different things on one Display.... Simple use now Custom Offset Values not only 0 and 1 use 0-11 now.
You can do this with a Button too.... Simply make a logic that the Button should increase the Offset Value +1 .... So it start on 0 every push add +1 to the Vallue...... Extremly you be able to set 1000 Functions to a Display with only one button !
Please try out.... If you check the basic technic the rest is pretty simple !
