#Hubhop iB. A340 wrong code TurnOff Lights ON
1 messages · Page 1 of 1 (latest)
Done
There are different types of events and variables. In Msfs2020, Mobiflight can only get access to L:, E: and A: variables. For events we can access K:, H: type events.
Aircraft developers all do their own thing and don't follow any set standard.
There is no access to O: or I: variables.
Msfs2024 does provide access to B: events.
So that means, this is wrong and should be changed to "B" too?:
let me check it. I don't have MSFS2024 but setting an L var requires a value prefixed to the call.
On the other hand, this event is listed as an output, so something is definitely wrong
This is just a guess that I cannot verify. I think by the name, it is an Lvar
but the greater than sign should be taken off
Please try like this
(L:INI_APU_MASTER_SWITCH)
Not sure that works and not so sure there is no dedicated Lvar for the LED itself in this aricraft versus using the switch position status instead.
Thanks, I will be able to try it out tomorrow hopefully.
after checking in Hubhop a bit, the same Lvar is used in the Ini A350, so I guess it should work in the A340
I can confirm, that the Lvar from the iB A350 are working for the iB A340 for the outputs.
But I still do not understand, how I can adjust/ control the brightness of the Leds and backlights of the MF mini-overhead... do I need to add a modifyer for each LED or it will change all LEDs lights at once?
I am able to turn on the backlight and LEDs on the panel, but I cant control the brightness, it is always at max brightness. I did try a modifyer, but it doesnt work for me.
Please specify which panel it is? Controlling brightness will depend how the panel is wired.
MF mini-overhead
Good find Jaime!
BTW I am using the A350 2020 events. The 2024 has only very few listed in hubhop.
i cant seem to get a Strobe light LVAR? i found the A300s Beacon light works for the a340, but none of the 300, 310, 350 strobe work for the 340, since it doesnt have a hubhop preset?
I will try to look for it.
This works:
I just looked at other events, which are in the HH list for the 340, then just replace "beacon" or whatever does work, with "strobe". I just gave a try and it works.
i see
It worked for strobe, i got all buttons i care about set for lights now, coz i normally forget to set them in sim 
If you want to search for input code in MSFS2024, follow this guide...
Check out the documentation for a step-by-step guide to finding input events in Microsoft Flight Simulator 2024: Finding input events in Microsoft Flight Simulator 2024
Step-by-step guide to finding input events in Microsoft Flight Simulator 2024 for use with MobiFlight.
thanks
I was reading this too, in regards to making an IF statment for airbus nose wheel lights
like
IF taxi lights switch is activated when you turn off landing lights, dont turn of taxi light, but im not too sure 🗿
not sure how to do reference to hardware 
i guess it would more or less be built like this for
when i switch of the landing light switch:
If taxi_switch_on set taxi light to taxi, else if taxi_switch_off, set taxi light to off