Jump to content

Cockpit switch / dial positions (LUA)


Recommended Posts

Yes, it is.

 

For aircraft with a clickable cockpit, every bit of state is assigned an argument number. You can retrieve it with

GetDevice(0):get_argument_value(number)

in the Export.lua environment.

 

DCS-BIOS exports most switch positions. It supports the A-10C and the UH-1H.

Preliminary documentation on how to add support for another module is available.

Link to comment
Share on other sites

Oh fantastic. Great to know this will work with UH-1H as that was my focus. Thanks!

 

edit: I've had a brief read so far and realised this is not quite what I'm after, so to clarify I was looking for the world coordinates of the clickable object, not just it's switched state.


Edited by Jazzerman
clarification
Link to comment
Share on other sites

  • Recently Browsing   0 members

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