This crashes as GetEntityDamageZoneMap() saying the result is NULL (when it is not).
foreach (string zone, array<string> zoneNames: m_Vehicle.GetEntityDamageZoneMap()) { foreach (string zoneName: zoneNames) { Print(zoneName); } }
This works as it appears to have soft pinned the return?
auto allZones = m_Vehicle.GetEntityDamageZoneMap(); foreach (string zone, array<string> zoneNames: allZones) { foreach (string zoneName: zoneNames) { Print(zoneName); } }