Emile B. 0 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. Quote Link to post Share on other sites
Thomas Richter 31 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 Quote Link to post Share on other sites
John Dowson 133 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 Quote Link to post Share on other sites
Emile B. 0 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. Quote Link to post Share on other sites
Emile B. 0 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.