Jump to content
The simFlight Network Forums

patchoq

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by patchoq

  1. Got it to work... thanks, problem was that I needed the paid version DUH! Once purchased, it works perfectly
  2. Perfect I'll do that later today and will install the latest beta Thanks a million
  3. Good Day John, thanks for the reply I know I might be completely off the chart here, but I'm new with FSUIPC, LUA and Mobiflight The goal, here, is trying to get the LED light from the "Master Caution and Master Warning" buttons to light my physical led light. I got my push button to turn the Caution off directly from Mobiflight by declaring the constant in the modules. For the output, I understand that I need to assign the value of the constant to an offset. The ASCRJ_MASTER_CAUT and WARN are Booleans I know I certainly am missing something. PS : Is there a way (I can't find it so far) to display the value of a constant outside the sim so we can know if we are getting it? Thank you
  4. Hi, I understand that they're not listed per say and I'm actually trying to write a LUA ( I'm new to this) Here's the LUA I did so far Filename crj-custom.lua function Master_Caut_light(offset, value) if (value == 1) then ipc.writeLvar("ASCRJ_MASTER_WARN", 1) else ipc.writeLvar("ASCRJ_MASTER_WARN", 0) end end function Master_Warn_light(offset, value) if (value == 1) then ipc.writeLvar("ASCRJ_MASTER_CAUT", 1) else ipc.writeLvar("ASCRJ_MASTER_CAUT", 0) end end event.offset("66C0","UB","Master_Caut_Light") event.offset("66C2","UB","Master_Warn_Light") Added this in the .ini [Auto.CRJ700] 1=Lua crj-custom Thanks for the help
  5. Hi there, I'm new with FSUIPC and try to make a reset light/button for the master warning/caution I can't find the offset for any of them Is there a way? Thanks
×
×
  • 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.