January 13, 20233 yr I have most of the controls for the SWS Kodiak on the Streamdeck thanks to Lorby's AAOs and Guenseli. But I am having trouble getting the two shoulder harness inertia reel locks onto one button. I can get them working individually, but I want them on one button. The SWS documentation gives me this: Harness levers (overhead) (L:Lever_Harness_x, Bool) xE[1,2] 0 unlocked 1 locked This works for the left one: Lever_Harness_1, Bool I tried this: (Lever_Harness_1, Bool)&(Lever_Harness_2, Bool) It does not work but that is the idea. Can you provide me with the correct syntax?
January 14, 20233 yr Commercial Member 9 hours ago, riveter said: I have most of the controls for the SWS Kodiak on the Streamdeck thanks to Lorby's AAOs and Guenseli. But I am having trouble getting the two shoulder harness inertia reel locks onto one button. I can get them working individually, but I want them on one button. The SWS documentation gives me this: Harness levers (overhead) (L:Lever_Harness_x, Bool) xE[1,2] 0 unlocked 1 locked This works for the left one: Lever_Harness_1, Bool I tried this: (Lever_Harness_1, Bool)&(Lever_Harness_2, Bool) It does not work but that is the idea. Can you provide me with the correct syntax? This can only be done with scripts. Please consult the AAO manual, chapter about Scripting and/or the simulator SDK.Reverse Polish Notation (flightsimulator.com) Lock1 (>L:Lever_Harness_1, Bool) 1 (>L:Lever_Harness_2, Bool) UnLock0 (>L:Lever_Harness_1, Bool) 0 (>L:Lever_Harness_2, Bool) Toggle1 (L:Lever_Harness_1, Bool) - (>L:Lever_Harness_1, Bool) 1 (L:Lever_Harness_2, Bool) - (>L:Lever_Harness_2, Bool) Be mindful of the space characters and upper/lower case. Scripts must be entered exactly as they are. On the StreamDeck you can enter this code in the action directly as type "S:" Or you create the scripts in AAO and call them with "K:" "scriptgroup-scriptname" Edited January 14, 20233 yr by Lorby_SI LORBY-SI
January 14, 20233 yr Author I used your Toggle scrip and it works great. I put 'Lever_Harness_1, Bool' in the Read box to change the button state. Thank you.
Archived
This topic is now archived and is closed to further replies.