July 8, 20214 yr PMDG 747 V3 -1.5 module, can two of the four engines be started at the same time? I made changes Turned out to be: function ENG1_FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 968, 0) DspShow ("ENG1", "run") end function ENG1_FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 968, 1) DspShow ("ENG1", "cut", "ENG1", "cutoff") end function ENG1_FUEL_CTRL_SWITCH_toggle () if _tl("switch_968_74X", 100) then ENG1_FUEL_CTRL_SWITCH_run () else ENG1_FUEL_CTRL_SWITCH_cutoff () end end -- function ENG2_FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 969, 0) DspShow ("ENG2", "run") end function ENG2_FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 969, 1) DspShow ("ENG2", "cut", "ENG2", "cutoff") end function ENG2_FUEL_CTRL_SWITCH_toggle () if _tl("switch_969_74X", 100) then ENG2_FUEL_CTRL_SWITCH_run () else ENG2_FUEL_CTRL_SWITCH_cutoff () end end function ENG3_FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 970, 0) DspShow ("ENG3", "run") end function ENG3_FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 970, 1) DspShow ("ENG3", "cut", "ENG3", "cutoff") end function ENG3_FUEL_CTRL_SWITCH_toggle () if _tl("switch_970_74X", 100) then ENG3_FUEL_CTRL_SWITCH_run () else ENG3_FUEL_CTRL_SWITCH_cutoff () end end function ENG4_FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 971, 0) DspShow ("ENG4", "run") end function ENG4_FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 971, 1) DspShow ("ENG4", "cut", "ENG4", "cutoff") end function ENG4_FUEL_CTRL_SWITCH_toggle () if _tl("switch_971_74X", 100) then ENG4_FUEL_CTRL_SWITCH_run () else ENG4_FUEL_CTRL_SWITCH_cutoff () end end Now i added: function ENG1_and2 FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 968, 0) DspShow ("ENG1", "run") DspShow ("ENG2", "run") end function ENG1_and2 FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 968, 1) DspShow ("ENG1", "cut", "ENG1", "cutoff") DspShow ("ENG2", "cut", "ENG2", "cutoff") end function ENG1_and2 FUEL_CTRL_SWITCH_toggle () if _tl("switch_968_74X", 100) then ENG1_and2 FUEL_CTRL_SWITCH_run () else ENG1_and2 FUEL_CTRL_SWITCH_cutoff () end end function ENG3_and4 FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 968, 0) DspShow ("ENG3", "run") DspShow ("ENG4", "run") end function ENG3_and4 FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 968, 1) DspShow ("ENG3", "cut", "ENG3", "cutoff") DspShow ("ENG4", "cut", "ENG4", "cutoff") end function ENG3_and4 FUEL_CTRL_SWITCH_toggle () if _tl("switch_968_74X", 100) then ENG3_and4 FUEL_CTRL_SWITCH_run () else ENG3_and4 FUEL_CTRL_SWITCH_cutoff () end But Linda did not respond, what should I do? Edited July 8, 20214 yr by zhensanmao
July 8, 20214 yr I am sorry but I do not know the B747 and am unable to help you. The module author is not currently supporting LINDA. PS. Please do not send the same questions by email. Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
July 8, 20214 yr Author 12 hours ago, YMMB said: 在 -400 上,您一次启动一台发动机,在 -8 上,您一次可以启动 2 个。 The key is that there are only two switches on my hardware peripherals. How can one switch control two engines to start at the same time?
July 9, 20214 yr You can combine 2 or more functions by placing them inside another within the aircraft user.lau file. function myswitch() function1() function2() end Andrew Gransden Scotland, UK LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew
July 9, 20214 yr Author -- Dummy user functions file -- =========================== -- This file is loaded right after main actions.lua script loaded. -- You can use this file to: -- 1. Override any functions or settings in main script -- 2. Execute any desired startup sequence for this aircraft (i.e. your own c&d state macro) -- 3. ... use your imagination -- This file will not be replaced on the aircraft module update, so all of your modifications -- will remain active. Best practice from this moment is DO NOT MAKE ANY CHANGES in original -- actions.lua file. Make all the modifications HERE. -- insert your code below here: function ENG1_and2 FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 968, 0) DspShow ("ENG1", "run") DspShow ("ENG2", "run") end function ENG1_and2 FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 968, 1) DspShow ("ENG1", "cut", "ENG1", "cutoff") DspShow ("ENG2", "cut", "ENG2", "cutoff") end function ENG1_and2 FUEL_CTRL_SWITCH_toggle () if _tl("switch_968_74X", 100) then ENG1_and2 FUEL_CTRL_SWITCH_run () else ENG1_and2 FUEL_CTRL_SWITCH_cutoff () end end function ENG3_and4 FUEL_CTRL_SWITCH_run () ipc.control(PMDGBaseVariable + 968, 0) DspShow ("ENG3", "run") DspShow ("ENG4", "run") end function ENG3_and4 FUEL_CTRL_SWITCH_cutoff () ipc.control(PMDGBaseVariable + 968, 1) DspShow ("ENG3", "cut", "ENG3", "cutoff") DspShow ("ENG4", "cut", "ENG4", "cutoff") end function ENG3_and4 FUEL_CTRL_SWITCH_toggle () if _tl("switch_968_74X", 100) then ENG3_and4 FUEL_CTRL_SWITCH_run () else ENG3_and4 FUEL_CTRL_SWITCH_cutoff () end end -- Just a message in console _log("[USER] User's modifications script is loaded...") Is that right? But no change
Archived
This topic is now archived and is closed to further replies.