updated huey crew page with export script parse

This commit is contained in:
Bailey 2022-05-22 20:22:01 +09:00 committed by GitHub
parent 74f78669ae
commit a51fffbdac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -631,7 +631,7 @@ function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
ExportScript.UhfRadioPresets(mainPanelDevice) -- AN/ARC-164 UHF Preset List
ExportScript.CrewStatusRepeater(mainPanelDevice) -- Crew Status Window
ExportScript.RadioFreqs(mainPanelDevice)
ExportScript.RadioFreqs(mainPanelDevice) -- Radio Stack
if LoIsObjectExportAllowed() then -- returns true if world objects data is available
if LoIsOwnshipExportAllowed() then -- returns true if ownship data is available
@ -931,7 +931,7 @@ end
----------------------
function ExportScript.CrewStatusRepeater(mainPanelDevice) -- Crew Status Window
local crewStatusInfo = parse_indication(6) -- contains table of the status of the crew
local crewStatusInfo = ExportScript.Tools.getListIndicatorValue(6) -- contains table of the status of the crew
if crewStatusInfo.txt_mem0 ~= null then -- if there is a pilot entry
ExportScript.Tools.SendData(3000,'Pilot\n' .. crewStatusInfo.txt_status0