Hello!
I try to make Lua script that connecting QW787 and VATSIM cliant (vPilot)
but it does not function.
Is there any idea ?
Using P3Dv4.5, QW787 P3D v1.1.3 and registed FSUIPC5
Installed my lua into Prepar3D v4\Scripts folder like that QW787xpnder.lua
local qw_xpnder = varget("L:QW_AFT_Transponder_Knob", "Enum")
if qw_xpnder == 0 or qw_xpnder == 1 then
ipc.writeSB(0x7B91, 1)
elseif qw_xpnder == 2 or qw_xpnder == 3 or qw_xpnder == 4 then
ipc.writeSB(0x7B91, 0)
end
put "FSUIPC5.ini" in Prepar3D v4\Modules folder as below.
[Auto]
1=Lua QW787xpnder
made Lua following SquawkBox SDK FSUIPC Offsets, and Qualitywings 787 sim builder kit
http://www.squawkbox.ca/doc/sdk/fsuipc.php
http://www.qualitywingssim.com/v.2.0.1.8/Documentation.php