VladMordock Posted June 21, 2020 Posted June 21, 2020 Dear fellow Mission Makers and Modders, Some time ago I have created app to pull the stats from DCS and push those into MySQL (together with LotATC and SRS exports); the source code can be found at https://github.com/szporwolik/perun . As the native API function has not been returning the correct category for some of the units I used the following solution to check if the killed object was Helicopter/Ship or Plane : https://github.com/szporwolik/perun/blob/master/01_DCS/Hooks/Perun.lua#L139 For a few months already I can see that - from time to time - the various (unknown for me) events are generating Heli kills. Can anybody suggest some simple way to detect if object is/was Helicopter unit ? Regards, VladMordock Zapraszam na Gildia.org - polska społeczność DCS. :thumbup:
VladMordock Posted June 21, 2020 Author Posted June 21, 2020 What i know: Those "kills" are logged as: 2020-06-20 20:27:15.464 INFO Scripting: event:type=kill,initiatorPilotName=MEDEVAC 2-1,weapon=UH-1H,target=,t=34141.229,initiatorMissionID=70,targetMissionID=, Where triggered during shooting to destroyed tank: Zapraszam na Gildia.org - polska społeczność DCS. :thumbup:
Recommended Posts