Keimo Bass Sim Pilot 1 Posted May 4, 2023 Share Posted May 4, 2023 Hello Is it possible to get a value of a custom name variable and to assign it to another internal variable? 1) A simple example In the below example I'm trying to add more options (COM and NAV frequencies) to the FCU selector based on a switch up on Bravo. At the same time I want to keep the original FCU_SELECTOR values (ALT, VS...) when the switch is down. First a switch has a Press Event Variable: CUSTOM NAME Name: INT:MYVAR_RADIO, string Index: Value: COM1 Then I try to assign the value of MYVAR_RADIO, which is "COM1", to FCU_SELECTOR Please login to display this image. 2) The same, but with an array First a switch has a Press Event Variable: CUSTOM NAME Name: INT:MYVAR_RADIO, string Index: 0 Value: COM1 Variable: CUSTOM NAME Name: INT:MYVAR_RADIO, string Index: 1 Value: COM2 Variable: CUSTOM NAME Name: INT:MYVAR_RADIO, string Index: 2 Value: NAV1 ... Can I then assign the value of an array variable to FCU_SELECTOR e.g. (in this case the 2nd array element with value "COM2" Please login to display this image. Thank you for any pointers. Link to comment Share on other sites More sharing options...
Keimo Bass Sim Pilot 1 Posted June 12, 2023 Author Share Posted June 12, 2023 Hi. Answering myself. I spent quite some time on this. I do not believe it is possible to assign a custom name variable to another custom name nor internal variable. Link to comment Share on other sites More sharing options...
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