patchoq
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by patchoq
-
-
Perfect I'll do that later today and will install the latest beta
Thanks a million
-
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
-
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
endfunction Master_Warn_light(offset, value)
if (value == 1) then ipc.writeLvar("ASCRJ_MASTER_CAUT", 1)
else ipc.writeLvar("ASCRJ_MASTER_CAUT", 0)
end
endevent.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
-
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
Master Warning/caution light for MSFS2020
in FSUIPC7 MSFS
Posted
Got it to work... thanks, problem was that I needed the paid version DUH!
Once purchased, it works perfectly