Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi, i would like to know if it's possible to send to an offset (for example 0x66D0) a value (such as 0/1)when the threshold it's reached or leaved ... in my case the default value of 75% and eventually how to do ?

Thanks in advance.

Giuseppe Reda

Posted

Yes, it is possible using a lua script. You would need to monitor the brake position offsets (0x0BC4 & 0x0BC6) using event.offset, and then write/update your offset depending upon the value for each brake.

John

Posted

Give it a try and post your script if you have any problems. You probably want to auto-start the lua - see the Advanced User guide on how to do this. And if you have any issues, first try debugging yourself using the provided lua debug logging facilities.

John

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.