September 6Sep 6 I'm looking for some help with an AAO script for the flaps on the Cirrus SR22T in MSFS 2024. This will be for a slider gauge for Steam Deck.I've worked out that B:HANDLING_ FLAPS_SET is the command that works; the values the sim is looking for are 0, 8192 and 16324 (for zero, 50 and 100 percent flaps.) I can set the flaps to the first position with the 8192 value and the Long Press Key UP will reset them to Zero. I have the Long Press Key Down configured as B:HANDLING_FLAPS_SET, 16234, but this doesn't work.Hopefully this is something that is relatively easy to set up, but at this point I'm out of ideas.
September 7Sep 7 Commercial Member You cannot assign three things to one action like that. Key down and key up are always fired together, so you would have to keep the button held down for as long as you need full flaps?The usual solution is using a sequence script (seq or iseq) that moves the flaps to the next position in the sequence with every keypress.0 50 100 50 (B:HANDLING_FLAPS) (L:AAO_CRFlaps_IDX) 4 iseq 163.84 * (>B:HANDLING_FLAPS_Set) (>L:AAO_CRFlaps_IDX) Edited September 7Sep 7 by Lorby_SI LORBY-SI
September 8Sep 8 Author 15 hours ago, Lorby_SI said:You cannot assign three things to one action like that. Key down and key up are always fired together, so you would have to keep the button held down for as long as you need full flaps?The usual solution is using a sequence script (seq or iseq) that moves the flaps to the next position in the sequence with every keypress.0 50 100 50 (B:HANDLING_FLAPS) (L:AAO_CRFlaps_IDX) 4 iseq 163.84 * (>B:HANDLING_FLAPS_Set) (>L:AAO_CRFlaps_IDX)That script seems to do the trick, For some reason it didn't work at first but now it does. Not sure what I did at this point. Thank you, though. Edited September 8Sep 8 by mkel2010
Create an account or sign in to comment