Emile B. Posted February 15, 2020 Report Share Posted February 15, 2020 Is it possible to refresh a lua plug-in without having to reload the aircraft that uses it ? I am editing a lua plug-in that I wrote for the PMDG NGX to use it with the PMDG NGXu. Testing modifications currently requires me to restart P3DV4.5 as PMDG aircraft can't be loaded over the top of one another, which is rather time-consuming. Sorry if this has already been asked, but I did search the forum to begin with, to no avail. Any help much appreciated. Thanks, Emile Bax. Link to comment Share on other sites More sharing options...
Thomas Richter Posted February 15, 2020 Report Share Posted February 15, 2020 Hi, as soon you have a Lua file in your ..\Modules\ folder you can define Keys or Buttons to different functions to it. Just i.e. define a Key and search for your Lua file, then you will find all sorts of functions you can choose from (Kill / Start / Set / Toggle / ... ). This will do what you are looking for. Thomas Link to comment Share on other sites More sharing options...
John Dowson Posted February 15, 2020 Report Share Posted February 15, 2020 Hi Emile, in addition to what Thomas has said, you can also reload your assignments by using the 'Reload all assignments' button in the Axis Assignment tab, or the 'Reload all buttons' button in the Buttons & Switches tab. Cheers, John Link to comment Share on other sites More sharing options...
Emile B. Posted February 15, 2020 Author Report Share Posted February 15, 2020 10 hours ago, John Dowson said: Hi Emile, in addition to what Thomas has said, you can also reload your assignments by using the 'Reload all assignments' button in the Axis Assignment tab, or the 'Reload all buttons' button in the Buttons & Switches tab. Cheers, John Thanks a lot, John ! Regards, Emile. Link to comment Share on other sites More sharing options...
Emile B. Posted February 15, 2020 Author Report Share Posted February 15, 2020 11 hours ago, Thomas Richter said: Hi, as soon you have a Lua file in your ..\Modules\ folder you can define Keys or Buttons to different functions to it. Just i.e. define a Key and search for your Lua file, then you will find all sorts of functions you can choose from (Kill / Start / Set / Toggle / ... ). This will do what you are looking for. Thomas Thanks a lot, Thomas ! Regards, Emile. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now