fmedges Posted May 4, 2020 Posted May 4, 2020 Is there a parameter for dcs object that says what asset pack it is a part of? Say for instance I want to take a .miz file and see if any ww2 asset pack objects are used in the mission. [sIGPIC][/sIGPIC] Allied Air Command Website | Allied Air Command Discord
Grimes Posted May 4, 2020 Posted May 4, 2020 In the mission editor you can go to the Unit list and one of the columns will allow you to sort by which module an object came from. Using the scripting engine you can also use getDesc() on a unit and one of the entries states where it was added for some objects. Most of these simply represent any unit that was added within Coremods or Mods. So you will see some listed with an entry that everyone would have anyway. For example: ["_origin"] = "WWII Armour and Technics" https://github.com/mrSkortch/DCS-miscScripts/blob/master/ObjectDB/WW2%20Asset%20Pack/Ground%20Vehicles/ARTY%20v1_launcher.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
Recommended Posts