jimsmac 0 Posted June 29, 2022 Share Posted June 29, 2022 Hi, I am not a programmer and I may be approaching this the wrong way! Here’s where I am so far : I currently have my profile setup for an aircraft and pretty much everything is working fine. I have one of the 7 flip switches set to change the INT:FCU_SELECTOR variable to either LIGHTS or BARO This allows me to program the right rotary dial to do all the normal AP stuff and also adjust Light brightness or barometer settings using that flip switch. What I was wondering : If i could create a new internal variable called for example INT:MODIFIER I could then use the toggle switch to set this to 1 or 0 This would allow me to use the left rotary dial with modifier on or off and then double the options on that while using only one Toggle switch. Hope the above makes sense? Maybe there is another way to do it other than use up more toggle switches?? Thanks all! James Link to comment Share on other sites More sharing options...
Aerosoft SimWare 728 Posted June 29, 2022 Aerosoft Share Posted June 29, 2022 Hi James, I suggest you check this tutorial. It explains the use of internal variables in the Configurator : Best regards. Link to comment Share on other sites More sharing options...
jimsmac 0 Posted June 29, 2022 Author Share Posted June 29, 2022 Many thanks for your reply. I did find that previously and i guess it does show that it is possible to setup a new variable. I do not see the options though that are in that post. For example in Part 2, Step 4 there is this image : Please login to display this image. In the attached picture, it shows next to the numbers 3 and 4 several boxes. For me I only have the option to select ‘Custom Name’ in the Variable box, and then i just have the Name, Index, and Value boxes. i don’t see the ‘Key’ box. I am using version 2.1 on the Mac. Do i need to do something else to make these other options appear, or another way to setup the variable using the options I have? James Link to comment Share on other sites More sharing options...
Aerosoft SimWare 728 Posted June 29, 2022 Aerosoft Share Posted June 29, 2022 Ok, let me check this. I need to test it with the Xplane version. Coming back to you asap. Thanks. Link to comment Share on other sites More sharing options...
Aerosoft SimWare 728 Posted June 29, 2022 Aerosoft Share Posted June 29, 2022 Hi, Actually, in the Xplane version, CUSTOM NAME stands for CUSTOM VAR. There is no Key field as the Key refers to variable types specific to P3D and FSX. So, you can create a custom variable that will be triggered by a switch like below : Please login to display this image. Then refer to this variable in a conditional statement somewhere else like below : Please login to display this image. Best regards. Link to comment Share on other sites More sharing options...
jimsmac 0 Posted June 29, 2022 Author Share Posted June 29, 2022 Many thanks for this explanation. As soon as the aircraft loads or whenever I reload the bindings I get this error now. To confirm, If I flip that switch nothing is registered. Please login to display this image. Link to comment Share on other sites More sharing options...
jimsmac 0 Posted June 29, 2022 Author Share Posted June 29, 2022 Actually - if I put an INT: in front of that it seems to then work. So INT:MyTestVar Link to comment Share on other sites More sharing options...
Aerosoft SimWare 728 Posted June 29, 2022 Aerosoft Share Posted June 29, 2022 Ok, let me check that, please. I don't get that here. Thank you. Link to comment Share on other sites More sharing options...
Aerosoft BenBaron 286 Posted September 2, 2022 Aerosoft Share Posted September 2, 2022 Am 29.6.2022 um 19:05 schrieb jimsmac: Actually - if I put an INT: in front of that it seems to then work. So INT:MyTestVar This is in fact how it is supposed to be done. Have fun. Link to comment Share on other sites More sharing options...
Aerosoft BenBaron 286 Posted September 2, 2022 Aerosoft Share Posted September 2, 2022 Because we believe this topic has been answered we have closed it. If you have any more questions feel free to open a new topic. Link to comment Share on other sites More sharing options...
Recommended Posts