In T159815#2285503, @tjensen wrote:Hopefully this gets addressed but, in the meanwhile, I've created this script snippet to identify modded clothing items that may generate the error:
int count = GetGame().ConfigGetChildrenCount("CfgVehicles"); string child; PrintFormat("Checking %1 types", count); for (int i = 0; i < count; ++i) { if (!GetGame().ConfigGetChildName("CfgVehicles", i, child)) { continue; } if (GetGame().ConfigGetInt(string.Format("CfgVehicles %1 scope", child)) != 2) { continue; } Object obj = GetGame().CreateObject(child, "0 0 0"); if (obj && obj.IsClothing() && Clothing.Cast(obj) == null) { PrintFormat("Bad clothing type: %1", child); } GetGame().ObjectDelete(obj); } Print("Done checking types");
- Queries
- Arma 3 Activity
- All Stories
- Search
- Advanced Search
Feed Advanced Search
© Bohemia Interactive a.s. Bohemia Interactive® is a registered trademark of Bohemia Interactive a.s. All rights reserved. · Privacy Policy · Terms and Conditions