July 24, 20232 yr Hello, Recently I found some time to realize an idea I had for a while now, which is automating and extending the GSX flow with AAO and RPN scripting in a more realistic way. I got a bit carried away and ended up with a Turn-Around-Coordinator that works pretty well. Apart from controlling GSX it also integrates with SimBrief nicely and speaks a little bit. I know RPN scripting is probably not exactly the right tool for that but it gets the job done anyway (and I did not have the time to really dive into programming). There are a couple of things I noticed, only meant as constructive feedback or possible corrections of misunderstandings: From the documentation it is not completely clear if the ONESHOT command refers to one flight (defined by takeoff and landing for me) or one simulator session (defined by executing and shutting down MSFS). By trial & error it seems the second one is meant (e.g. PDF p74 of the manual) It also seems that multi-RPN commands are not necessarily done in exactly the same sequence as written with more complex, sequentially intended expressions. Sometimes this seems to affect the calculation of values depending on script items from 2-3 calculations before, which are not updated in time to reflect the latest value – especially when LVAR are used. Which makes me think for intermediate calculations only used in the scripts one should use a different means (have not tried local or script variables yet) The AAO InGame Panel LVAR (PDF p88 of manual) to show/hide does not seem to work with assigning 1 or 0, because if it also is interacted with within the sim. I.e. opening via RPN and close via “x” button. In these conditions the L:AAO_PANEL_HIDDEN seems to require a toggle of whatever state it is currently in to show up again. Using at as Bool and inverting the state works reliably to show and hide Thanks for creating that wonderful eco system!
July 24, 20232 yr Commercial Member 1. ONESHOT is active per (re) load of the aircraft configuration in AAO. In general that is when you leave the world map. But it is also reset in AAO itself, for example when you leave the RPN editor. 2. What are "multi RPN commands"? Variables in the same script (line) are not processed sequentially. If you want that to happen use SPLIT or multiline scripts (or script files / conversations). 3. Not sure that I understand that one. MSFS will reset LVars back to 0 in certain circumstances (return to the world map for example). The InGame panel will only react on a change of that variable, to avoid constantly forcing a state on it that it already has. Edited July 24, 20232 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.