mirror of
https://github.com/weyne85/DCS-ExportScripts.git
synced 2025-10-29 16:58:18 +00:00
updated huey crew page with export script parse
This commit is contained in:
parent
74f78669ae
commit
a51fffbdac
@ -631,7 +631,7 @@ function ExportScript.ProcessIkarusDCSConfigLowImportance(mainPanelDevice)
|
|||||||
|
|
||||||
ExportScript.UhfRadioPresets(mainPanelDevice) -- AN/ARC-164 UHF Preset List
|
ExportScript.UhfRadioPresets(mainPanelDevice) -- AN/ARC-164 UHF Preset List
|
||||||
ExportScript.CrewStatusRepeater(mainPanelDevice) -- Crew Status Window
|
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 LoIsObjectExportAllowed() then -- returns true if world objects data is available
|
||||||
if LoIsOwnshipExportAllowed() then -- returns true if ownship 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
|
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
|
if crewStatusInfo.txt_mem0 ~= null then -- if there is a pilot entry
|
||||||
ExportScript.Tools.SendData(3000,'Pilot\n' .. crewStatusInfo.txt_status0
|
ExportScript.Tools.SendData(3000,'Pilot\n' .. crewStatusInfo.txt_status0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user