Andre92 Posted October 2, 2021 Report Posted October 2, 2021 Hello, Noob question: I want to control the Left, Nose and Right Landing lights of the Aerosoft CRJ, with a single switch. Their respective LVARs are: 1=L:ASCRJ_OVHD_LDG_LEFT=Set 2=L:ASCRJ_OVHD_LDG_RIGHT=Set 3=L:ASCRJ_OVHD_LDG_NOSE=Set And i can control them seperately, but how can i set them with one switch? I tried the multi-line macro from the advanced users manual, but then also saw that this doesn't work wit Lvars. Kind Regards, Andre
John Dowson Posted October 3, 2021 Report Posted October 3, 2021 10 hours ago, Andre92 said: And i can control them seperately, but how can i set them with one switch? The easiest may to achieve this is to overload the assignments to the button by editing your FSUIPC7.ini file. Locate the assignment to the first lvar in the macro, it will look something like this: <index number>=P<joyId/letter>,<buttonId>,CM1:1,0 -{Macro <macro file name> L:ASCRJ_OVHD_LDG_LEFT}- then copy this line and duplicate twice, then change to give both a unique <index number> and increment the macro index, to end up with something like <index number>=P<joyId/letter>,<buttonId>,CM1:1,0 -{Macro <macro file name> L:ASCRJ_OVHD_LDG_LEFT}- <index number + 1>=P<joyId/letter>,<buttonId>,CM1:2,0 -{Macro <macro file name> L:ASCRJ_OVHD_LDG_LEFT}- <index number + 2>=P<joyId/letter>,<buttonId>,CM1:3,0 -{Macro <macro file name> L:ASCRJ_OVHD_LDG_LEFT}- You don't need to change the annotation/comment - FSUIPC will update this when it is next ran. If you do this when FSUIPC7 is already running, you can reload the changes from the buttons assignment dialog panel using the 'Reload assignments' button. John
Andre92 Posted October 3, 2021 Author Report Posted October 3, 2021 Hi John, That works! Thank you for help! Cheers, Andre
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now