McMicha Posted September 11, 2016 Posted September 11, 2016 Hello, I ascertained that the data of LoGetTWSInfo() and LoGetNameByType() function contain some errors. e.g. The "SA-3 S-125 search radar" is referred to as "Patriot-RLS_P_1". The "SA-3 S-125 tracking radar" is referred to as "MT-LB_P_1". For the "Hawk CWAR AN / MPQ-55", the function returns a nil value. lTWSInfo: { [Emitters] = { [1] = { [Type] = { [level3] = number: "101" [level1] = number: "2" [level4] = number: "75" [level2] = number: "16" } [Azimuth] = number: "1.0060220956802" [Power] = number: "0.83987760543823" [iD] = number: "16777728" [Priority] = number: "140.83987426758" [signalType] = string: "scan" } [2] = { [Type] = { [level3] = number: "101" [level1] = number: "2" [level4] = number: "42" [level2] = number: "16" } [Azimuth] = number: "-0.60858452320099" [Power] = number: "0.73460388183594" [iD] = number: "16778240" [Priority] = number: "140.73460388184" [signalType] = string: "scan" } } [Mode] = number: "0" } level: 2, 16, 101, 75 lNameByType: string: "PATRIOT-RLS_P_1" level: 2, 16, 101, 42 lNameByType: nil See the attached export script and the sample mission.Export.luaLoGetTWSInfo.miz Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION" DCS ExportScript D.A.C. DCS to Arcaze Communicator Ikarus a new Virtual Cockpit Software Deutscher Forums Thread English Forums Thread Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM
Recommended Posts