Jump to content

Recommended Posts

Posted (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 by Comrade Doge
  • 2 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...