Jump to content
The simFlight Network Forums

Reload LUA plug-in after editing


Recommended Posts

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

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.