MobiFlight-Connector
MobiFlight-Connector copied to clipboard
New MobiFlight variable not accessible in precondition tab
I'm trying to use a variable in a precondition in an output configuration. The variable is created from another output configuration. The new variable is missing in the dropdown list.
Steps to reproduce the behavior:
- Start creating a new Output configuration
- On tab "Sim Variable" select "FSUIPC Offset"
- Enter the observed offset
- On tab "Display" choose "Input Action" OnChange
- The Action Type is "MobiFlight - Variable"
- Type is Number and define a name
- Leave the configuration with OK
- In an other output configuration go to the Precondition tab
- Precontition type is "MobiFlight Variable"
- The new variable is now missing in the drop down box below
Expected behavior The variable should be available in the "Choose variable" dropdown box.
Actual behavior Only Input variables are shown.
I have helped me out by not using a variable but just the plain outputconfiguration and choosed "Config item" instead of a variable. I don't see a reason why output configs can be used but not the variables they are filling.
confirmed, i stumbled over this two days ago too. Thanks for reporting!
Root cause: When looking up MF Variables we are not looking at the input actions in the Output configs. That's why they don't show in the list.
Workaround for now: Create a dummy output config with the same MF variable name