Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted

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

Posted

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

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.