ark1320 Posted November 18, 2021 Report Posted November 18, 2021 John, After the recent SU7 MSFS update I have found that a Lua script that used to work to set a target altitude in the G1000NXi via offset 0x07D4 no longer works. But this script still does work for the G3000, so it seems to me something has changed with the G1000NXi. In trying to figure out what is going on, as an experiment I assigned a key for the event AP Alt Var Set English along with a parameter value which is the target altitude. Again I find that this works for the G3000 but not the G1000NXi. So I'd just like to understand how FSUIPC7 invokes the event AP Alt Var Set English in case this might provide a clue to help explain what might have changed with the G1000NXi. Thanks, Al Edit: The WT guys just found that there was a change made to the G1000NXi altitude code, hopefully that will be fixed so offset 0x07D4 will again work. In the meantime they suggested using the simvar AUTOPILOT ALTITUDE LOCK VAR:1. Is there a way to invoke a simvar within a Lua script?
John Dowson Posted November 19, 2021 Report Posted November 19, 2021 17 hours ago, ark1320 said: So I'd just like to understand how FSUIPC7 invokes the event AP Alt Var Set English FSUIPC just uses the AP Alt Var Set English control/event. No idea why this has changed. Are you using the stick G1000NXi or a mod? Btw, just release FSUIPC7 v7.2.13, which has been recompiled against the latest MSFS SDK for SU7 (0.16.0.0), as well as containing a few bug-fixes + additional offsets/features. John 1
John Dowson Posted November 19, 2021 Report Posted November 19, 2021 Are you using the Working Title mod? There is a report in the Asobo forums that this is no longer working correctly since SU7 with the lesson scripts - may be related? https://forums.flightsimulator.com/t/su7-new-lessons-ifr-vor-issues-with-workingtitle-g1000nxi/472878 John 1
ark1320 Posted November 20, 2021 Author Report Posted November 20, 2021 11 hours ago, John Dowson said: Are you using the Working Title mod? Yes,I am using the WT G1000NXi which is very good ( the latest few SU7 related bugs aside, they will get fixed). Thx, Al
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