funkyfranky Posted March 15, 2020 Share Posted March 15, 2020 I noticed that we have an enumerator for the refueling system of a unit https://wiki.hoggitworld.com/view/DCS_Class_Unit Unit.RefuelingSystem = { BOOM_AND_RECEPTACLE, PROBE_AND_DROGUE } But I'm lost as to how I can extract the the information whether a given unit has this attribute? A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
Grimes Posted March 17, 2020 Share Posted March 17, 2020 Unit.getDesc().tankerType 0 is boom 1 is probe https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/Aircraft/A-10C.lua https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/Aircraft/FA-18C_hornet.lua The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum Link to comment Share on other sites More sharing options...
funkyfranky Posted March 17, 2020 Author Share Posted March 17, 2020 Unit.getDesc().tankerType 0 is boom 1 is probe https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/Aircraft/A-10C.lua https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/Aircraft/FA-18C_hornet.lua Wonderful, thanks :thumbup: A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
funkyfranky Posted March 17, 2020 Author Share Posted March 17, 2020 Well, looks like a couple of units - in particular most tankers - don't have the "tankerType" entry: KC-130 (RAZBAM) KC-135BDA (RAZBAM) KC-135MPRS (RAZBAM) S-3B Viking tanker (ED) Il-74M (ED) My aim is to figure out, if in general a donor is compatible with an acceptor. But for that I need to know the refueling system of both. Only knowing the type of either acceptor or donor is unfortunately useless. The only tanker which has the type given seems to be the KC-135 by ED. A warrior's mission is to foster the success of others. i9-12900K | MSI RTX 3080Ti Suprim X | 128 GB Ram 3200 MHz DDR-4 | MSI MPG Edge Z690 | Samung EVO 980 Pro SSD | Virpil Stick, Throttle and Collective | MFG Crosswind | HP Reverb G2 RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss Link to comment Share on other sites More sharing options...
Recommended Posts