Jump to content
The simFlight Network Forums

Reload LUA?


Mugz
 Share

Recommended Posts

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

 

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.