Djeez Posted April 5, 2021 Report Share Posted April 5, 2021 Hi, I can increase/decrease the barometric pressure in my Lua scripts by using controls 65883 and 65884 with parameter 1. However, in aircraft with a G1000, this control requires a parameter value 5. Is there a generic way to use these controls? If not, I can use either 1 or 5 as parameter but then I need to know if a G1000 is present in the plane. Is there a way to find that out? Thanks, -Emile. Link to comment Share on other sites More sharing options...
John Dowson Posted April 5, 2021 Report Share Posted April 5, 2021 2 hours ago, Djeez said: Is there a generic way to use these controls? No, not that I'm aware of. 2 hours ago, Djeez said: If not, I can use either 1 or 5 as parameter but then I need to know if a G1000 is present in the plane. Is there a way to find that out? Maybe, but not that I know of., sorry. If its just the case of using a different parameter for different aircraft, you could either use profiles, or you could maybe set the parameter to the correct value in your lua based upon something you know (or have access to), such as the aircraft name/title. Link to comment Share on other sites More sharing options...
Djeez Posted April 5, 2021 Author Report Share Posted April 5, 2021 42 minutes ago, John Dowson said: No, not that I'm aware of. Maybe, but not that I know of., sorry. Thanks for thinking with me. My work-around is to call the control twice, once with parameter 1 and once with parameter 5. This looks weird but it does not seem to have any negative effect. Emile. 1 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