I'm trying to figure out how to detect if the canopy is closed in the Viggen. Is "X:COCKPIT PARAM EQUAL TO" the way to go? If so, how do I determine the proper values for PARAM and VALUE?
I found this in clickabledata.lua:
elements["PNT_9"] = default_3_position_tumb(_("Canopy Open/Close"), devices.FLIGHTDATAUNIT, 3406, 9, false, false)
elements["PNT_9"].sound={{SOUND_CANOPY},{SOUND_CANOPY}}
No clue what to do with it ... :helpsmilie: