Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Cat figure how to reload LUA.

 

My LUA loaded throug [Auto] section in INI file, but when i something chage in LUA i restart FSUIPC to test how it work. It's any way to just reload LUA script?

Posted
17 minutes ago, Mugz said:

My LUA loaded throug [Auto] section in INI file, but when i something chage in LUA i restart FSUIPC to test how it work. It's any way to just reload LUA script?

When developing and testing a Lua script I always just assign a keystroke or button to it in the Assignments tab.

If you invoke it through assignment the running version will be 'killed' and the current version loaded and started.

Pete

 

Posted
Just now, Pete Dowson said:

When developing and testing a Lua script I always just assign a keystroke or button to it in the Assignments tab.

If you invoke it through assignment the running version will be 'killed' and the current version loaded and started.

Pete

Which assignment you ercomeend? LuaKill and then LuaDebug? I dont find LuaReload 

Posted
3 minutes ago, Mugz said:

Which assignment you ercomeend? LuaKill and then LuaDebug? I dont find LuaReload 

Just "Lua <name>", the same control you must have already used in your [Auto] section to start it before.

For every Lua plug in seen in the same folder as FSUIPC there are a number of controls added which do different things. Please see the very first page of the FSUIPC Lua documentation ("FSUIPC Lua Plug-Ins.pdf"), which document should really have been your first point of reference if developing or using plugins.

Pete

 

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.