Jump to content
The simFlight Network Forums
Sign in to follow this  
Claude Troncy

LUA Scripting.

Recommended Posts

Bonjour,

 

I use about 20 actions through HIDMacros and LUA plugin. What is the best way to do it ?

20 small LUA scripts or only one script detecting the action to do, through a parameter in 0D6C ?

 

Best regards

Claude

Share this post


Link to post
Share on other sites

I use about 20 actions through HIDMacros and LUA plugin. What is the best way to do it ?

20 small LUA scripts or only one script detecting the action to do, through a parameter in 0D6C ?

 

Either. Not much in it really.

 

Pete

Share this post


Link to post
Share on other sites

As a former assembly language programmer, I would definitely opt for a single script

with copious comments to 'remind ones self' what you are doing and why :)

 

I use a Lua script for each of the aircraft I fly often, mostly the A2A Accu-Sim birds,

and each script has several functions that are triggered by various events.

 

When I need to add or change something for a given aircraft, I know immediately 'where to go'...that

single aircraft-specific script file.

 

  Paul

Share this post


Link to post
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...
Sign in to follow this  

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