Hi,
I'm learning how to create scripts to complement Stream Deck profiles. I'm starting with a profile for the Miltech MH60.
First challenge: a 3-position switch:
(>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH)
1 = OFF, 2 = ENGINE and 0 = APU
Unless I'm mistaken, you need to use a SliderGauge on the Stream Deck, but beyond that, I don't know. My attempts (based on examples from other scripts) have been unsuccessful.
My Test : (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH, number) 1 == if{ 0 (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH, number) ) els ( 1 (>IE:INSTRUMENT_OVD_AIR_SOURCE_SWITCH, number) }
Thanks for help