Jump to content

Recommended Posts

Posted

You sure can.

 

By figuring out the ID of the switch (peeking in the Scripts\Aircrafts\A-10C\Cockpit\mainpanel_init.lua, device_init.lua and clickabledata.lua).

 

With that you can query the main panel device in lua and retrieve the current state of the mentioned switch.

 

 

I will try to provide a simple lua example soon :)

Posted

That would be great! A simple example showing the syntax would be sufficient.

I also have problem with LoGetMechInfo(). Simply can't get it to work under BS. Was trying to get gear states.

Posted

Shilka,

 

There are several examples of how to do this on the forums. Check some of my back posts as I explain how to read the clickabledata.lua files to get the information you need.

  • Recently Browsing   0 members

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