Jump to content
The simFlight Network Forums

DaveDewhurst

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by DaveDewhurst

  1. Now that its zoomed in it looks less like a compass but still no idea on its function or the one to the left of it
  2. Still cant figure out what it does, its probably staring me in the face Dave -- edit: please not the game in addition to a summary of your question in your post's subject line.
  3. Hmm, Ill re read what I read that made me think it was a float and try again. Thanks for the extra pointer Dave EDIT, yep it was me reading things wrong (nothing new) changed them to UD and can now set the values as 0 & 1 Thanks
  4. Got it, I think (well it seems to work) :razz: --Lua file to automatically disable the Yaw Damper when the AP is disconnected --and enable it (to mirror the VC button) when z is pressed --Dave Dewhurst function setyawdamper(offset, AP_Master) Yaw_Damper = ipc.readFLT(0x0808) if AP_Master > 0 and Yaw_Damper == 0 then ipc.writeFLT(0x0808, AP_Master) elseif AP_Master == 0 and Yaw_Damper > 0 then ipc.writeFLT(0x0808, 0) end end event.offset(0x07BC, "FLT", "setyawdamper") Oddly, I was expecting ON == 1 and OFF = 0 but on seemed = 1.405......e-45 so I just set it equal to AP_MAster which was the same value when on Thanks again, it took less time than I thought Dave
  5. What I want to do is this (I haven't tried it yet beyond checking the log to make sure the controls can be recognised) 1. When the AP is switched on either by the "z" key or the button in the VC, switch the Yaw Damper On 2. When the AP is switched off either by the "z" key or the button in the VC, switch the Yaw Damper Off I need to be able to differentiate between AP on and AP Off rather than just recognising the key press as depending on the initial condition of the AP I need to know whether to switch the YD on or Off So something like if AP_Master == On and YD == Off then set YD on elseif AP_Master == Off and YD == On then set YD off end Is that doable, before I start trying If you're interested Im trying to workaround an issue the Alabeo C400 has where Activating the AP turns on the YD but deactivating leaves it on. Thanks in advance Dave
×
×
  • 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.