Comrade Doge Posted May 8, 2021 Posted May 8, 2021 (edited) Hello, I want to use the LoSetCommand() function to set a switch in the cockpit of the F-16, for example the A-A master button. I found out that it takes 2 parameters, the button code and the value. I looked for the code in C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\F-16C\Cockpit\Scripts\clickabledata.lua and found it to be 169, however using it with the function doesn't work. I tried adding 3000 to the code as found in another thread, no joy either... However using a code like 431 from the function docs works, it lowers the gear. Any help would be appreciated. What I tried and doesn't work: LoSetCommand(3169) LoSetCommand(169) LoSetCommand(3169, 1.0) Edited May 8, 2021 by Comrade Doge
analina Posted March 16, 2024 Posted March 16, 2024 I found this link with a table documenting the interface. GitHub - laomai0208/DCS-Keyboard-Assistance
Recommended Posts