Jazzerman Posted January 18, 2015 Share Posted January 18, 2015 I'm curious if it's possible to retrieve the positions of these objects in the cockpit. Many thanks. Link to comment Share on other sites More sharing options...
FSFIan Posted January 18, 2015 Share Posted January 18, 2015 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. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
Jazzerman Posted January 18, 2015 Author Share Posted January 18, 2015 (edited) 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 January 18, 2015 by Jazzerman clarification Link to comment Share on other sites More sharing options...
Recommended Posts