February 5, 20224 yr Midi Controller : Korg nanokontrol2 I am using : https://flightsim.to/file/27128/dhc-6-twin-otter-bvar-mappings-for-lorby-s-axis-and-ohs-wip Script 1: Strobe Light ON 1·(>L:AAO_TWOTTER_STROBE,·number) Script 2: Strobe Light OFF -1·(>L:AAO_TWOTTER_STROBE,·number) I have tested both scripts and they work. Now, I want to use these two scripts and assign to one button on the Midi controller to toggle on/off the strobe lights on the Aerosoft Twin Otter. I can bind normal msfs 20202 event, ''toggle strobe" to a single button and the strobe lights work. However, the switch itself does not animate as the animation is controlled using BVars. Any ideas ? Thanx. Edited February 5, 20224 yr by elstowlads
February 5, 20224 yr Commercial Member 1 hour ago, elstowlads said: Now, I want to use these two scripts and assign to one button on the Midi controller to toggle on/off the strobe lights on the Aerosoft Twin Otter. Combine them into a single toggle script. (L:AAO_TWOTTER_STROBE,·number)·1·==·if{·-1·(>L:AAO_TWOTTER_STROBE,·number)·}·els{·1·(>L:AAO_TWOTTER_STROBE,·number)·} Edited February 5, 20224 yr by Lorby_SI LORBY-SI
February 5, 20224 yr Author 2 hours ago, Lorby_SI said: Combine them into a single toggle script. (L:AAO_TWOTTER_STROBE,·number)·1·==·if{·-1·(>L:AAO_TWOTTER_STROBE,·number)·}·els{·1·(>L:AAO_TWOTTER_STROBE,·number)·} Works beautifully. Thanx.
Archived
This topic is now archived and is closed to further replies.