Martin9 Posted November 17, 2016 Report Share Posted November 17, 2016 Hello, I couldn't find the value for increment baro. I am using this if val == 1 then ipc.log(69997, 16384) else ipc.control(69997, 8192) end end If the val is equal 1 or 0, it always decrement pressure in aircraft. Could someone help me? Link to comment Share on other sites More sharing options...
ckovoor Posted November 18, 2016 Report Share Posted November 18, 2016 You could try ipc.control(69997, -2147483648) or ipc.control(69997, 2147483648) to increase, and ipc.control(69997, 536870912) to decrease. Link to comment Share on other sites More sharing options...
aua668 Posted November 18, 2016 Report Share Posted November 18, 2016 14 hours ago, Martin9 said: Hello, I couldn't find the value for increment baro. I am using this if val == 1 then ipc.log(69997, 16384) else ipc.control(69997, 8192) end end If the val is equal 1 or 0, it always decrement pressure in aircraft. Could someone help me? Why are you using ipc.log if val == 1 ?!? Rgds Reinhard Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now