Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I have read up on Lua for dummies and I'm afraid this 70 year old dummy cannot even begin to understand how to write a Lua script and at my age I don't want to go back to school. Is there anyone on this forum that can write me a basic script to manipulate a couple of offsets? Or point me to someone who can.

I would be very appreciative.

Thanks

Alan

Posted

Hi,

Download the latest Lua Package from the download section. You will find there a lot of useful sample Lua scripts included, which might be taken as a reference.

Rgds

Reinhard

Posted

I've read through those document and to be honest I have no idea where to begin -- it's all Greek to me.

There are lots of examples you can look at, both in the package installed with FSUIPC and in the User Contributions sub-forum.

Pete

Posted

Okay I'll check that out. I did see one example that may be of help and that was an intercept. Apparently it's used to intercept an action -- which in my case would be to intercept the offset for switch A until switch B offset had been sent. Now to figure out how to use it.

Alan

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.