The component index from Object::EEOnDamageCalculated and DayZGame::FirearmEffects does not return the door index when passing the component index to Building::GetDoorIndex. I would like to be able to nullify opening locked doors with damage, without using SetAllowDamage(false), as this prevents projectiles from penetrating the entire entity. The component index from the raytrace for ActionTarger seems to correctly get the door index from the hit component index.
Example video: