mirror of
https://github.com/s-d-a/DCS-ExportScripts.git
synced 2025-10-29 16:59:03 +00:00
add global variables
ExportScript.lastExportTimeHI ExportScript.lastExportTimeLI delete global variables ExportScript.TickCount ExportScript.TickCountDAC
This commit is contained in:
parent
7ee857c7b2
commit
1dc1549126
@ -1,7 +1,7 @@
|
|||||||
-- Ikarus and D.A.C. Export Script
|
-- Ikarus and D.A.C. Export Script
|
||||||
-- Version 1.0.0 BETA
|
-- Version 1.0.1
|
||||||
--
|
--
|
||||||
-- Copyright by Michael aka McMicha 2014
|
-- Copyright by Michael aka McMicha 2014 - 2017
|
||||||
-- Contact dcs2arcaze.micha@farbpigmente.org
|
-- Contact dcs2arcaze.micha@farbpigmente.org
|
||||||
|
|
||||||
|
|
||||||
@ -19,6 +19,9 @@ ExportScript.PacketSizeDAC = {}
|
|||||||
ExportScript.SendStringsDAC = {}
|
ExportScript.SendStringsDAC = {}
|
||||||
ExportScript.LastDataDAC = {}
|
ExportScript.LastDataDAC = {}
|
||||||
|
|
||||||
|
ExportScript.lastExportTimeHI = 0
|
||||||
|
ExportScript.lastExportTimeLI = 0
|
||||||
|
|
||||||
local PrevExport = {}
|
local PrevExport = {}
|
||||||
PrevExport.LuaExportStart = LuaExportStart
|
PrevExport.LuaExportStart = LuaExportStart
|
||||||
PrevExport.LuaExportStop = LuaExportStop
|
PrevExport.LuaExportStop = LuaExportStop
|
||||||
@ -36,10 +39,6 @@ for i = 1, #ExportScript.Config.DAC, 1 do
|
|||||||
ExportScript.LastDataDAC[i] = {}
|
ExportScript.LastDataDAC[i] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Frame counter for non important data
|
|
||||||
ExportScript.TickCount = 0
|
|
||||||
ExportScript.TickCountDAC = 0
|
|
||||||
|
|
||||||
-- Found DCS or FC Module
|
-- Found DCS or FC Module
|
||||||
ExportScript.FoundDCSModule = false
|
ExportScript.FoundDCSModule = false
|
||||||
ExportScript.FoundFCModule = false
|
ExportScript.FoundFCModule = false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user